Back to Search
M

MuJoCo

ProjectActive

MuJoCo (Multi-Joint dynamics with Contact) is a general-purpose physics simulator developed by Google DeepMind (originally by Roboti LLC, acquired by DeepMind in 2021). It is one of the most widely used physics engines in robotics and embodied AI research, with over 15,000 GitHub stars and licensed under Apache 2.0. MuJoCo was designed from the ground up for model-based optimization and simulation of multi-joint dynamics with frictional contact. Its key innovations include a fast and accurate contact model using convex optimization, support for arbitrary 3D geometries including meshes, and efficient computation of dynamics through recursive Newton-Euler algorithms. The simulator supports a wide range of applications including robot control, biomechanics, animation, and reinforcement learning. It has been used extensively to train locomotion and manipulation policies that transfer to real robots, and is the default physics engine in numerous robot learning frameworks including DeepMind's own research stack. In 2022, DeepMind open-sourced MuJoCo under the Apache 2.0 license, making it freely available for both research and commercial use. Since then, it has gained Python bindings, support for differentiable physics, and integration with popular RL libraries. MuJoCo's combination of speed, accuracy, and ease of use makes it the preferred physics simulator for many embodied AI projects. It is used by both the Isaac Lab and Habitat simulators as an underlying physics engine, and is the default simulator for the OpenAI Gym robotics environments. Version 4.0.0 was released on November 6, 2026, followed by 4.0.1 on November 11, 2026. The 4.0 line adds a speculative enable flag for speculative contacts, preventing fast-moving convex geoms from tunneling through thin obstacles within a single timestep, and adds elasto-plasticity with stateful plastic deformation stored in mjData.plastic (mjSTATE_PLASTIC), covering joint and tendon springs as well as 2D and 3D flexes with separate stretching and bending yield strains. Deformables gain sparse Newton solving, 1D rod bending with curved reference configurations, and trilinear or quadratic volumetric interpolated flexes that distribute contacts to element vertices. The RK4 integrator is now fourth-order accurate for orientation, and mjData gains geom_xquat and site_xquat for Cartesian orientation quaternions of geoms and sites. mjModel.tendon_type exposes the new mjtTendon enum, and mjContact.surfacevel stores relative surface velocity at contact points. Rendering adds a castshadow attribute on geoms and horizon haze and skybox visibility in Filament. Packaging splits the Python distribution into mujoco-core, which depends only on the C library, and the full bindings; Python 3.10 support is removed, and the Sphinx manual and doc/skills agent skill files are bundled in the Python package. Version 4.0.1 fixed a sparse Cholesky factorization bug introduced in 4.0.0 that merged rows with different descendants into one supernode and gave the Newton solver a wrong Hessian factor when the constraint Jacobian is sparse, causing slow convergence and divergence, and it enabled the MuJoCo Studio Web Viewer on Windows through a platform-independent mujoco-studio-wasm wheel.