What is MuJoCo?
MuJoCo is an open-source physics engine (Multi-Joint dynamics with Contact) maintained by Google DeepMind for robotics, biomechanics and machine learning. It simulates articulated bodies with contact on CPU, and through MJX and MuJoCo Warp on GPUs and TPUs, for training and testing robot policies.
- Made by
- Google DeepMind. Originally developed by Roboti LLC. MuJoCo Warp is maintained with NVIDIA
- First released
- 2012 paper by Todorov, Erez and Tassa (IROS 2012). Made freely available by DeepMind in October 2021, open sourced in May 2022
- Latest version
- MuJoCo 4.1.0 (December 1, 2026), after 4.0.0 on November 6, 2026. MJX and MuJoCo Warp 4.1.0 the same day. MuJoCo Playground 1.1.0 (November 23, 2026)
- What it is
- Physics engine with a C API, Python bindings, MJCF model format, viewers (MuJoCo Studio) and GPU versions
- Language
- C/C++ core; Python bindings (Python 3.11+); MJX in JAX; MuJoCo Warp in NVIDIA Warp
- License
- Apache-2.0 (MuJoCo, MuJoCo Warp and MuJoCo Playground)
- Runs on
- Linux (x86-64, AArch64), Windows (x86-64), macOS and the browser (WebAssembly). MJX on NVIDIA and AMD GPUs, Apple Silicon and TPUs; MuJoCo Warp on NVIDIA GPUs
What MuJoCo is for
MuJoCo simulates robots and other jointed bodies that touch their surroundings. Robot learning teams use it to train policies with reinforcement learning, to test policies before they run on hardware, and to build simulated benchmarks. Its README describes it as a general purpose engine for robotics, biomechanics, graphics and machine learning.
Around the engine, Google DeepMind maintains MuJoCo Menagerie (about 70 robot models as of 4.0), a system identification toolbox (mujoco.sysid) and MuJoCo Playground, a suite of robot environments and sim-to-real workflows.
How it works
Models are written in MJCF, MuJoCo's XML format (URDF files also load), and compiled into a low-level runtime structure. The docs say MuJoCo simulates in generalized (joint) coordinates and solves contact as a convex optimization problem, unlike the Cartesian coordinates used by most game engines.
There are three ways to run it. The C engine runs on CPU, and mujoco.batch steps many worlds at once. MJX (MuJoCo XLA) is a JAX API with two backends: MJX-JAX, which runs on GPUs and TPUs and supports automatic differentiation, and MJX-Warp, which uses MuJoCo Warp. MuJoCo Warp is a GPU version for NVIDIA hardware, built with NVIDIA as part of the Newton project; the MJX docs call it the most fully featured accelerated implementation.
MuJoCo 4.0 (November 2026) added MuJoCo Studio as the default viewer, implicit soft bodies and plasticity, and speculative contacts so thin or fast objects do not pass through each other. The team reports that a robot arm catches a 0.7 mm card at a 16 ms timestep with this feature. In 4.1.0 the release notes report CPU stepping about 1.4x faster on average across their benchmarks.
Getting started
Install the Python bindings with pip install mujoco (uninstall first if upgrading from 3.x) and open a model with python -m mujoco.studio.viewer --model=humanoid.xml. Models can also be tried in the browser at live.mujoco.org. For GPU simulation, install pip install mujoco-mjx or pip install mujoco-warp.
MuJoCo Playground 1.x is rebuilt on PyTorch-based reaf-sim and MuJoCo Warp. Its README trains an SO-101 cube-picking policy with uvx "playground[rl]>=1.1" train rsl_rl --env=SO101PickCube and deploys it to a real SO-101 arm. The older JAX/MJX environments from the RSS 2025 paper remain in the rss2025 folder.
Where it fits in robot development
MuJoCo is used before and alongside real-robot work: training reinforcement learning policies, testing policies in simulation as part of policy evaluation, and preparing deployment with system identification and sim-to-real transfer. Many benchmarks and frameworks, such as robosuite and robomimic, run on it.
Playground 1.1.0 logs real-robot episodes as JSON-encoded MCAP, per its changelog.
Alternatives
Other simulators in this library include NVIDIA's Isaac Sim and Isaac Lab, ManiSkill, Genesis and Gazebo. The MuJoCo Warp README notes that Isaac Lab can use MuJoCo Warp through the Newton project.
From the lab to production
A policy trained in MuJoCo still meets friction, latency and sensor noise that the model did not capture once it runs on real robots. Teams then rely on data from real robots, track which checkpoint each robot runs, and watch for quiet failures that only appear in the field. PhysicalFleet records robot runs as episodes and failed runs as standard MCAP flight recordings, and ships checkpoints to robots in phases with automatic rollback.
Sources
- MuJoCo GitHub repository and README
- MuJoCo 4.1.0 release notes
- MuJoCo 4 announcement (GitHub discussion)
- MuJoCo docs: Overview
- MuJoCo docs: MJX
- MuJoCo Warp GitHub repository
- MuJoCo Playground GitHub repository
- MuJoCo Playground changelog
- arXiv 2502.08844: MuJoCo Playground
- MuJoCo: A physics engine for model-based control (IROS 2012)
Facts checked against these sources on December 2, 2026. Names and trademarks belong to their owners.
Is MuJoCo free?
Yes. Google DeepMind made it freely available in October 2021 and open sourced it in May 2022 under Apache-2.0. MuJoCo Warp and MuJoCo Playground use the same license.
What is the difference between MJX and MuJoCo Warp?
MJX is a JAX API for MuJoCo with two backends: MJX-JAX, which runs on many accelerators and supports automatic differentiation, and MJX-Warp. MuJoCo Warp is a GPU version for NVIDIA hardware that can be used directly or through MJX.
What is new in MuJoCo 4?
MuJoCo 4.0 (November 2026) added the MuJoCo Studio viewer, implicit soft bodies with plasticity, speculative contacts for thin and fast objects, and a split Python package. 4.1.0 (December 2026) made CPU stepping about 1.4x faster on average, per the release notes.
Is MuJoCo Playground still JAX-based?
Not since version 1.0 (November 2026). Playground now builds on PyTorch-based reaf-sim and MuJoCo Warp. The original JAX/MJX environments are kept in its rss2025 folder.
From the lab bench. To the entire fleet.
Connect your first machine in minutes, develop it in the lab and run your whole fleet in production from one place.
Free for up to 3 machines · Then pay as you go