By Tetiana Stoyko
- CTO & Co-Founder
ArangoDB vs Neo4j in 2026: data models, AQL vs Cypher, licensing, vector search and scaling, with a comparison table and advice on which to pick.
Neo4j is a native graph database that stores everything as nodes and relationships. ArangoDB is a multi-model database that stores JSON documents and connects them as graphs, so one engine can replace a document store and a graph database.
They solve similar problems in different ways, which is why ArangoDB vs Neo4j is a common question when teams look for the best graph database.
Below, we compare data models, query languages, licensing, extensibility, AI features, and scaling, and then explain when to choose each. New to graphs? Start with our graph database examples.
Both ArangoDB and Neo4j are NoSQL databases, which means they don’t store data in fixed relational tables.
There are two classic database types: SQL and NoSQL. Relational (SQL) databases work best with structured, predefined data. NoSQL databases are more flexible and handle data that changes shape or doesn’t fit neatly into tables.
Graph databases are one type of NoSQL database. They’re the best fit when relationships are the main thing you query: social graphs, fraud detection, recommendations, network and supply chain dependencies, and knowledge graphs.
That said, you don’t always have to pick just one type. In many projects, a relational database stays the core storage, while a graph database handles connected data. We used this approach in our blockchain case study, and in practice, such a mix can become a very reasonable choice.
Still, if a combination brings no real improvements, there’s no need to complicate your architecture.
Neo4j is a graph-only database built on the property graph model, which means all data lives in nodes, relationships, and properties.
For example, a person and a company are nodes, WORKS_AT is the relationship between them, and a name and a start date are properties.
To query data, Neo4j uses Cypher, a declarative language built for graph patterns. Neo4j describes it as GQL-compliant. GQL is the ISO/IEC 39075 standard for property graph queries, published in April 2024.
Since January 2025, Neo4j versions follow the calendar in the YYYY.MM.Patch format, such as 2025.01. Cypher now has its own versions too: Cypher 5 and Cypher 25.
Neo4j comes in several editions:
Vector indexes are available in both Community and Enterprise editions, so you can run semantic search right inside Neo4j.
ArangoDB is a native multi-model database. It stores JSON documents, key-value pairs, and graphs in one engine. On top of that, it offers full-text search (ArangoSearch) and, since v3.12.4, vector indexes. You query all of them with one language, AQL.
In other words, the ArangoDB graph database features sit on top of documents. Graphs are a first-class feature, but documents are the core storage model. That’s why many teams use the ArangoDB graph layer for connected data inside an otherwise document-based app.
ArangoDB development started in 2011. Today, the company works under the Arango brand (arango.ai), while the database itself is still called ArangoDB. The current stable version is 3.12, and the 4.x branch is in development.
The biggest recent change is licensing. Starting with v3.12, the source code moved from Apache 2.0 to the Business Source License 1.1.
The prebuilt Community Edition binaries now fall under the ArangoDB Community License. It caps production data at 100 GiB and allows only internal business use, not commercial use. For commercial use or larger datasets, you need a license.
On the plus side, since v3.12.5, the Community Edition includes all former Enterprise features, such as SmartGraphs and cluster support, within these limits.
The main difference in ArangoDB vs Neo4j is the data model: Neo4j is graph-only, while ArangoDB mixes documents and graphs. Here’s a quick graph database comparison of the key points:
Now, let’s look at each criterion in more detail.
Neo4j works with graphs only, while ArangoDB can also act as a document store or a key-value database when you need it. So, if you want several data models in one engine, ArangoDB gives you more options.
In ArangoDB, vertices and edges are JSON documents stored in collections. This means you can query the same data as documents or as a graph, depending on the task.
Here’s how the same fact, “Alice works at Acme,” looks in each model:
Neo4j takes a different approach to storage. It’s optimized for deep relationship traversals and uses index-free adjacency, so each node points directly to its neighbors. As a result, hopping across many relationships stays fast even in large graphs.
Still, both databases are graph-first. The real difference is how much else you need besides graphs.
Neo4j has a bigger community, partly because it’s several years older. The company behind it was founded in 2007, while ArangoDB development started in 2011.
Apart from detailed documentation, Neo4j offers free courses on GraphAcademy, a developer blog, and plenty of videos and guides. You can also ask questions on the official community forum or join the Neo4j Discord chat.
ArangoDB covers the basics too. It has detailed documentation, a blog with tutorials and comparisons, and its own developer community.
Each database uses its own query language: ArangoDB has AQL, and Neo4j has Cypher.
AQL (ArangoDB Query Language) is one declarative language for all of ArangoDB’s data models. With it, you can filter documents, join collections, and traverse graphs in a single query. Its syntax is closer to SQL than to a pure graph language.
Cypher is a declarative graph language that borrows a lot from SQL. It describes patterns of nodes and relationships in an ASCII-art style, such as (a)-[:KNOWS]->(b). Thanks to the openCypher project, other graph databases support it too.
In April 2024, ISO published GQL (ISO/IEC 39075), the first ISO standard query language for property graphs. It’s largely based on Cypher, and Neo4j describes its Cypher as GQL-compliant. So, Cypher skills are likely to stay useful beyond Neo4j, while AQL is used only in ArangoDB.
To see the difference, here’s the same “friends of friends” query in both languages.
Cypher:
MATCH (p:Person {name: 'Alice'})-[:KNOWS]->{2}(fof:Person)
RETURN DISTINCT fof.name
AQL:
FOR v IN 2..2 OUTBOUND 'persons/alice' knows
RETURN DISTINCT v.name
As you can see, Cypher draws the pattern, while AQL loops over vertices with a FOR statement. By default, neither query reuses the same relationship within one path, so both return the same results.
Both databases let you extend their functionality, but in very different ways.
ArangoDB uses the Foxx microservices framework. With Foxx, you write JavaScript services that run inside the database and expose custom REST endpoints. This way, you keep data-heavy logic close to the data.
However, Foxx is now deprecated, so keep a few changes in mind. Since v3.12.9, ArangoDB uses stricter security defaults for server-side JavaScript, which can affect Foxx services. Pregel, the built-in graph analytics framework, was removed in v3.12.
What’s more, ArangoDB 4.x, which is still in development, removes Foxx completely. There, custom services move to the Container Manager of the Arango Contextual Data Platform.
Neo4j relies on plugins instead. You can write your own procedures and functions in Java or use ready-made libraries like APOC, which adds many utility procedures. For graph algorithms such as PageRank or community detection, there’s the Graph Data Science library.
Public benchmarks are mostly published by the vendors themselves, so treat any ArangoDB vs Neo4j performance claims with caution.
In practice, Neo4j tends to be faster for deep, multi-hop traversals because relationships are stored as direct pointers. ArangoDB performs well when a query combines document filters, joins, and shorter traversals in one AQL query.
When it comes to scaling, Neo4j clustering is available in Enterprise Edition and AuraDB. ArangoDB supports clusters and SmartGraphs in all editions since v3.12.5, but larger or commercial deployments still need a license.
The only reliable way to compare them is a proof of concept on your own data and queries.
Both databases now support vector indexes, so you can store embeddings next to your graph and run semantic search. That’s the basis of GraphRAG, where an LLM gets context from both similar documents and their relationships.
Neo4j offers the GraphRAG Python package and integrations with popular LLM frameworks like LangChain and LlamaIndex. Arango includes GraphRAG in its Agentic AI Suite, built on ArangoDB’s vector index (available since v3.12.4).
So, when it comes to ArangoDB vs Neo4j for AI applications, both are solid options. The choice depends more on your data model than on AI features. If you’re planning such a project, our RAG development team can help you design the pipeline.
Choose Neo4j for graph-first workloads and ArangoDB for document-centric apps that also need graphs. Here’s a closer look.
Choose Neo4j if:
Choose ArangoDB if:
If neither fits, look at other Neo4j alternatives, such as Memgraph, TigerGraph, Amazon Neptune, or PostgreSQL with Apache AGE. The same list works if you need ArangoDB alternatives.
Either way, solid back-end development and a good data model matter as much as the database itself.
We can help you model it and run a quick proof of concept on both.
Neo4j and ArangoDB are both mature choices in 2026. Neo4j wins on graph depth, ecosystem, and a standard query language. ArangoDB wins on flexibility when documents and graphs live together.
So, our short ArangoDB review in this Neo4j vs ArangoDB comparison is simple: ArangoDB is a strong pick when you want one database for many data models, as long as its license fits your plans.
Before you commit, run a short proof of concept with your real data. For more tips, see our guide on choosing the right tech stack. And remember, there is no bad technology, but there are wrong use cases.
Not in the classic sense. Since version 3.12, ArangoDB’s source code is under the Business Source License 1.1, which converts to Apache 2.0 after four years. The prebuilt Community Edition is free for internal, non-commercial use with up to 100 GiB of data.
Yes. Neo4j Community Edition is free under GPLv3, and AuraDB Free is a free managed cloud tier with size limits. Enterprise features require a commercial license.
Neo4j is usually faster for deep graph traversals, while ArangoDB is strong on mixed document and graph queries. Test both on your own data, since vendor benchmarks aren’t neutral.
For many apps, yes. In the ArangoDB vs MongoDB comparison, both store JSON documents, but ArangoDB adds native graph traversals and search. MongoDB has a larger ecosystem and a popular managed service, so compare tooling before you switch.
Popular Neo4j alternatives include ArangoDB, Memgraph, TigerGraph, Amazon Neptune, and PostgreSQL with the Apache AGE extension.
Got no clue where to start? Why don’t we discuss your idea?