Self-host neo4j
3.2.0-alpha08Graph database with Cypher queries and ACID transactions
docker run --detach --publish=7474:7474 --publish=7687:7687 --volume=$HOME/neo4j/data:/data --volume=$HOME/neo4j/logs:/logs --env NEO4J_dbms_memory_pagecache_size=4G neo4j:2026.09.0- Stars
- 17 413
- CPU
- Intel x86-x64 Core i3 minimum, Core i7 recommended. AMD x86-x64, ARM64 (such as Apple Silicon, Graviton).
- RAM
- 2GB minimum, 16GB or more recommended.
- Storage
- 10GB SATA Minimum, SSD with SATA Express or NVMe recommended.
- Ports
- 7474 (HTTP connector, used by Neo4j Browser and the HTTP API; enabled by default), 7473 (HTTPS connector (disabled by default), used by Neo4j Browser and the HTTP API), 7687 (Bolt connector, used by Cypher Shell, Neo4j Browser and the official drivers; enabled with encryption off)
neo4jWhat is neo4j?
Neo4j is a high-performance graph store for people who model data as nodes and relationships instead of fixed tables, offering a declarative query language together with ACID transactions. Community Edition covers the core server: the Cypher language, property-graph storage, full-text and vector indexing, the Bolt binary protocol with official language drivers, the embedded Neo4j Browser for querying and visualizing, and the Graph Data Science algorithm library (parallelization limited to four CPU cores). Self-hosting uses the official Docker image with published ports 7474 (HTTP) and 7687 (Bolt) plus /data and /logs volumes, rpm and deb packages with yum/apt repositories, tar and zip archives for Linux, macOS and Windows, or Helm charts on Kubernetes; a bare-metal server needs a compatible JVM (Java 21 or 25 for current releases) and an initial password set with neo4j-admin dbms set-initial-password. The Community Edition is licensed under GPLv3, while Enterprise Edition adds closed-source components such as autonomous clustering, multi-database, role-based access control, LDAP/Active Directory integration and hot backups under a commercial license (free trial available, and Community lacks those items). Neo4j also sells the fully managed Neo4j AuraDB cloud, which has a $0 tier.
neo4j alternatives
NornicDBSelf-hosted, open-source graph database speaking Neo4j Bolt/Cypher and Qdrant-style gRPC, uniting HNSW vector search, hybrid retrieval, and MVCC historical reads.CompareNornicDB with neo4j
dgraphA horizontally scalable GraphQL database for self-hosted terabyte-scale data. Native GraphQL API with ACID transactions, full-text search, deployed via Docker or source.Comparedgraph with neo4j
arangodbSelf-hosted multi-model database for documents, graphs and key-values, queried in one AQL language; the open-source Community edition is free for non-commercial use.Comparearangodb with neo4j
ArcadeDBOpen-source, self-hosted multi-model database: one ACID engine for graph, document, key-value, vector, full-text and time-series data, queried in SQL, Cypher or Gremlin.CompareArcadeDB with neo4j
helixdbA Rust-based graph database that unifies vector similarity and keyword search on object storage for AI memory workloads.Comparehelixdb with neo4j
GelOpen-source graph-relational database that builds on Postgres with EdgeQL, migrations, branching, built-in auth and AI; self-hosted via Docker or the gel-server binary.CompareGel with neo4j
rushdbRushDB is a self-hosted graph+vector DB for AI agents unifying relationships, semantic search, and live schema in one API, replacing Redis+Pinecone+Neo4j.Comparerushdb with neo4j
Apache CouchDBSelf-hosted, open-source Apache CouchDB is a document database with an HTTP/JSON API, bi-directional replication for offline-first sync, and multi-server clustering.CompareApache CouchDB with neo4j
Should you self-host neo4j?
neo4j scores 77/100 on selfhost.directory (how scoring works) and ranks #5 of 38 in Databases. It has 17 413 GitHub stars, +138 in the last 30 days.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is GPL-3.0-licensed and written mostly in Java.
Its closest alternative on selfhost.directory is etcd (85/100, 52 677 stars). It scores higher overall, so compare the two before you pick. See neo4j vs etcd side by side.
Features
- ACID Transactions
- Bolt protocol
- Built-in web query tool
- Clustering / high availabilityEnterprise Edition only; listed as Not Included for Community.
- Cypher query language
- Full-text indexing and search
- Graph algorithms (GDS)Community Edition of the library is limited to four CPU cores and three model catalog entries.
- LDAP / Active Directory integrationEnterprise Edition feature per the pricing table.
- Multi-DatabaseEnterprise Edition; Not Included for Community.
- Official language drivers
- Online backup and restoreOnline backup is Enterprise Only; Community has offline dump/load.
- Property graph model
- Role-based Access ControlEnterprise Edition; Community lists role-based security as Not Included.
- Vector indexing
neo4j README
Neo4j is the world’s leading Graph Database. It is a high performance graph store with all the features expected of a mature and robust database, like a friendly query language and ACID transactions. The programmer works with a flexible network structure of nodes and relationships rather than static tables — yet enjoys all the benefits of enterprise-quality database. For many applications, Neo4j offers orders of magnitude performance benefits compared to relational DBs.
Learn more on the Neo4j website.
Neo4j is available as a fully managed solution where you can get started for free using Neo4j Aura. Neo4j is also available as a standalone server that you can download.
FAQ
Can you use AuraDB on multiple cloud providers and marketplaces?
AuraDB runs on AWS, Microsoft Azure and Google Cloud across more than 60 regions and Professional can be bought through those cloud marketplaces.
Is there a free trial for the paid plans?
Yes, free trials of the AuraDB Professional tier are offered with the paid plans, currently only in some geographies.
How does Neo4j AuraDB Professional differ from the free plan?
The free plan caps node and relationship counts and suits small projects and prototyping, while Professional offers higher performance and best-effort support for production applications.
How do the different Neo4j AuraDB plans compare?
Free is for learning and exploring, Professional targets production apps, Business Critical adds high availability plus enterprise controls and 24/7 support, and Virtual Dedicated Cloud gives dedicated infrastructure with VDC-level networking.
More in Databases
oceanbaseSelf-hosted, open-source distributed SQL database that is MySQL compatible and handles OLTP plus real-time HTAP analytics, vector and full-text search in one engine.
OmniDBOpen-source, self-hosted web tool for database management: query editor, database tree, monitoring, explain visualizer, LDAP login and an optional PostgreSQL backend.
panySelf-hosted semantic search engine running in PostgreSQL via pgvector, using CLIP embeddings for text and image search to replace Pinecone or Weaviate.
Percona Server for MongoDBSelf-hosted, source-available MongoDB drop-in replacement adding enterprise features like LDAP auth, encryption, hot backup, and auditing without vendor lock-in.
Percona Server for MySQLOpen-source, self-hosted drop-in replacement for MySQL adding enterprise-style high availability, online backups, encryption and performance tooling under GPLv2.
Percona XtraDB ClusterSelf-hosted MySQL clustering with synchronous Galera replication, automatic node sync, and high availability. Runs via packages, Docker, or source.
PgDogSelf-hosted, open-source PostgreSQL proxy written in Rust: transaction-mode connection pooling, read/write load balancing with health checks, and automatic sharding.
portabaseSelf-hosted, open-source database backup tool where agents dump PostgreSQL, MySQL, MongoDB and more on a cron, with GFS retention, S3/SFTP storage and restores.
PostgRESTOpen-source, self-hosted web server that turns an existing PostgreSQL database into a RESTful API, with JWT authentication and authorization done in the database.
questdbSelf-hosted, open-source time-series database with SAMPLE BY and ASOF join SQL, QuestDB Wire Protocol ingestion, PGWire support and a web console.
RedisRedis is a self-hosted, open-source in-memory data structure server used as a database, cache, message broker, and vector query engine with sub-millisecond latency.
ScyllaDBSelf-hosted ScyllaDB is a distributed NoSQL database compatible with Apache Cassandra's CQL and the Amazon DynamoDB API, built on a shared-nothing, shard-per-core design.
0 comments