Nakama logo

Nakama: The leading open-source game backend for studios and publishers

Build and scale online games with one backend for realtime multiplayer, social systems, and competitive features. Own your stack with open-source infrastructure.

Nakama Runtimes Active Matches Storage Objects

Choose an open source game backend
for ownership and peace of mind

Feature illustration

Open Source

Nakama is the leading open source game backend framework for building online multiplayer games in Godot, Unity, Unreal Engine, MonoGame, LibGDX, Defold, Cocos2d, Phaser, Macroquad and more.

Feature illustration

Real-time Multiplayer

Nakama is equipped with all the real-time multiplayer and social and competitive features you need for your game - all customizable from the client and on the server with Go, TypeScript and Lua.

Feature illustration

Competitive Multiplayer

Make real-time client server multiplayer games, customize the multiplayer matchmaker algorithms, add daily rewards to your game, create leaderboards, add in-game currencies, add real-time in-game chat.

Feature illustration

Nakama on GitHub

Fork Nakama on GitHub and contribute to open source by reporting issues, suggesting new features, and following development.

Feature illustration

Community Passion

Join our passionate open source community forums of hobbyists, indie and AAA studios and publishers, and the Heroic Labs team.

Feature illustration

Blog & Newsletter

Read our blog and subscribe to our newsletter for the latest open source and product news, customer case studies and tutorials.

Open-source client libraries for Nakama

Nakama unity logo
  • White star 290 Stars
  • Fork 63 Forks

Unity Engine / .NET

Nakama unreal logo
  • White star 116 Stars
  • Fork 33 Forks

Unreal Engine

Nakama godot logo
  • White star 0 Stars
  • Fork 0 Forks

Godot Engine

Nakama defold logo
  • White star 0 Stars
  • Fork 0 Forks

Defold

Nakama cocos2d-x logo
  • White star 0 Stars
  • Fork 0 Forks

Cocos2d-x Engine

Nakama js logo
  • White star 0 Stars
  • Fork 0 Forks

JavaScript

Nakama cpp logo
  • White star 0 Stars
  • Fork 0 Forks

C / C++

Nakama java logo
  • White star 0 Stars
  • Fork 0 Forks

Java / Android

Devices supported

Apple logo Android logo Steam logo Sony Playstation logo Xbox logo Nintendo logo HTML5 logo Microsoft Windows logo Apple Vision Pro logo Microsoft Hololens logo Oculus logo

Core game stack on one page

Multiplayer, competitive systems, social features, and deep customization.

Multiplayer

Feature illustration

Authoritative multiplayer

Have the final say. Run your game logic in Nakama to verify moves and maintain coherent game state.

Feature illustration

Relayed multiplayer

Super low-latency data relay for client driven multiplayer titles. Proven at scale on mobile networks.

Feature illustration

Matchmaking and listing

Lightning fast, massively flexible player and lobby matching based on any properties you choose.

Run thousands of multiplayer matches on a single Nakama server

From one player to millions, Nakama gives you a rock-solid foundation to deliver smooth multiplayer experiences at all scales.

Feature illustration

Server authoritative multiplayer

Maintain total control of your game state by running your game loop on Nakama.
  • Run custom code in Nakama to validate and respond to player input
  • Async real-time, active turn-based, and passive turn-based models
  • Keep the game universe moving by setting a custom tick rate - up to 30hz!
Feature illustration

Client relayed multiplayer

High throughput, low latency multiplayer for games with trusted clients.
  • Nakama distributes game data directly to all current match players
  • Super low overhead, making it easy to start and run matches for all game types
Feature illustration

Matchmaking and match listing

The most flexible matchmaking you’ll find, whether you’re matching players to matches or players to other players.
  • Custom characteristics for both players and matches, giving you total control
  • Make matches based on required, desired, and optional characteristics
  • Fast free-text search matching

Competitive gameplay

Feature illustration

Matchmaking

Create matches for realtime, turn-based, asynchronous games or implement your custom gameplay.

Feature illustration

Tournaments

Schedule, advertise, and manage competitions that will take place in your game world.

Feature illustration

Leaderboards

Super-flexible leaderboards that let your player see where they are and which way is up.

Players want bragging rights,
you want long-term engagement

Plug into your players’ competitive streak by pitting them against each other. Match players, run tournaments, and maintain leaderboards to add a deeper dimension to your games.

Feature illustration

Matchmaking

Bring opponents and teammates together according to skill, language, or any criteria you choose.
  • Free text search for totally custom matches
  • No limits on gaming model: realtime, turn-based, or whatever you choose
  • Automatically filters out impossible matches
  • Power 1 v 1 or many vs many matches
Feature illustration

Tournaments

Tournaments turn your games into can’t-miss events. With a fully flexible tournaments system, you can set the criteria that make sense for your players.
  • Launch instantly or schedule for a future time
  • You set the joining criteria, from open for all to condition based
  • Optionally run your tournaments as server-authoritative
Feature illustration

Leaderboards

Fully configurable leaderboards put your players right in the heart of the action, at every skill level.
  • Create unlimited leaderboards
  • Track any number: fastest lap, most kills, quickest level completion
  • Pinpoint specific players and compare against friends and similarly skilled competitors
  • Find and block cheaters

Social features

Feature illustration

Friends and Clans

Nakama puts friendships and groups at the heart of its data model for driving deeper engagement.

Feature illustration

Messaging and Chat

Realtime direct messaging, chat rooms, and group chats supported by in-game notifications.

Feature illustration

Social Sign-in

Integrate with Facebook, Steam, Google, and more for friction-free auth and friend imports.

Social means longer playtimes and boosted engagement

Social features increase long-term retention of players.
With Nakama, everything you need for social gameplay is right there at your fingertips.

Feature illustration

Friends

Nakama is Japanese for ‘friend’. So, not only are friendships integral to how Nakama works, but they’re also quick to implement.
Feature illustration

Groups and clans

Who wants to play every game alone? With groups and clans, you can deliver an added level of depth to your gameplay, giving players another reason to come back time and again.
Feature illustration

Messaging, status, and notifications

Whether your players are building lasting friendships or swapping casual gameplay tips, in-game messaging draws individuals and groups together in a way that brings them back to your game time and again.

Custom game backend logic

Feature illustration

Validate gameplay

Run custom game logic on Nakama to validate player inputs and maintain canonical game state.

Feature illustration

Extend Nakama

Trigger your own code on Nakama in response to game events, timers, and external actions.

Feature illustration

Go deeper

Nothing is off-limits. Direct database access, create custom modules, hook into your existing systems.

The most flexible and powerful game backend you’ll find

Nakama gives you as much control over the server as you have client-side.
If you can imagine it, you can make Nakama do it.

Feature illustration

Server framework API

Build precisely the functionality your game needs direct into your game backend.
  • Write your business logic in Typescript, Javascript, Go and Lua
  • Hook code onto just about any events
  • Make RPC calls from client code or securely use the REST API from anywhere
Feature illustration

Direct database access

Run your own SQL queries direct on the game database. No restrictions.
  • Full read/write access
  • Process data in your own on-server code or pass to third-party services
Feature illustration

Game world validation

Control every last part of your game universe
  • Validate and manipulate client input
  • Schedule background maintenance tasks
Feature illustration

Integrate with external services

Nakama integrates with whatever services you need: whether in-house, from your publisher, or third-party.
  • Add support for any auth method you need
  • REST API to trigger custom code and events on Nakama

Ready to prototype faster?

Talk to Heroic Labs illustration

Talk to Heroic Labs

Get architecture guidance for multiplayer, social systems, and server-side gameplay on Nakama.

An Open Source Community

The community is growing and we welcome feature contributions, bug fixes, documentation improvements, and any other ways you can contribute. Nakama developers use the GitHub issues tracker to share and discuss changes.

To get started with contributing, follow these steps:

  • Create a Git branch to work on
  • Commit your work with clear commit messages and sign-offs
  • Open a PR against the Nakama repository

Nakama Open Source Licenses

Server License

Apache 2.0. Commercial licenses are also available. Please Contact us for more information.

Client Licenses

All client libraries are licensed under Apache 2.0.

Third-party drivers

Licenses will vary. See the individual driver documentation for details.

Try Nakama

Build scalable multiplayer games with Nakama Open Source.

Download and install Nakama in minutes.

Nakama by Numbers

500K
Devs

Used by 500k game developers, studios and publishers.

8 Years

Developed since 2015, with more than 60 releases.

2M CCU

Proven scalability with performance tests up to 2 million CCU.

1B
Players

Handles gameplay for over 1 billion players and counting.

$1B

Supporting our customers bring in over $1 billion in annual revenue.

1000B
Requests

Nakama serves over 1 trillion requests per month.