---
agent:
  instructions: "Use this search API to find the latest version, release notes and update steps of any Mac app, and pages on this site, with an app name, bundle ID or natural-language question, instead of crawling pages. Results are returned in Markdown."
  endpoint: "https://tryfresh.app/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# MuJoCo for Mac

The latest version of MuJoCo for Mac is 4.0.1, released November 11, 2026. General purpose physics engine.

## What's new in MuJoCo 4.0.1

**Compiler**

- 21a076966 Added mjsgetInStringVec to read entries from an mjStringVec by index.

**Python bindings**

- a937a4f91 Enabled the MuJoCo Studio Web Viewer (mujoco-studio --gfx=web and

mujoco.studio.launchweb) on Windows by shipping the precompiled browser client in a platform-independent

mujoco-studio-wasm wheel installed automatically by mujoco-studio.

**Bug fixes**

- 9ae9bad01 Fixed a bug in the sparse Cholesky factorization introduced in 4.0.0, which 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, wrong accelerations and divergence (#3767).

- 144ede984 mjloadAllPluginLibraries now skips a dynamic library that fails to load with a warning

instead of calling mjuerror, so one unloadable library in the plugin directory no longer aborts

simulate at startup. In the 4.0.0 macOS and Linux archives this happened with the USD decoder

plugin, which can only be loaded from a Python process.

- 409f981ab Fixed issues in single-shot multicontact for cylinder edge collisions

(#3748, #3752).

Source: GitHub (notes: [github.com](https://github.com/google-deepmind/mujoco/releases/tag/4.0.1)), read 2026-11-25.

## How to update MuJoCo on your Mac

- **With Homebrew.** If you installed MuJoCo with Homebrew, run `brew upgrade --cask mujoco`.
- **From the developer.** Download the latest version from https://mujoco.org/ and install it over the old copy in your Applications folder.
- **With Fresh.** Fresh lives in your menu bar, spots when MuJoCo and your other apps are out of date, and updates them all in one click. It's coming soon: https://tryfresh.app/#waitlist

## MuJoCo version history

### 4.0.1 (Nov 11, 2026)

See What's new above.

### 4.0.0 (Nov 7, 2026)

Important

Read the MuJoCo 4.0 announcement for an overview of everything new since 3.0, the interactive showcase at mujoco.org, MuJoCo Live browser demos, visual showcases, and maintainer Q&A.

**Significant new features**

- 89daf8d19 Added the speculative enable flag for speculative contacts to prevent fast-moving convex geoms from tunneling through thin obstacles within a single

timestep. On the right, one step of conservative advancement between two rotating boxes. See

model/speculative/ for examples.

- Added elasto-plasticity, with stateful plastic deformation stored in mjData.plastic (mjSTATEPLASTIC):
- e140c026f Ideal elasto-plasticity for joint (springyield) and tendon

(spatial, fixed) springs (left).

- 0c0f63b3f, c39fe6f02, e3bd72742, 7cb32488b Continuum elasto-plasticity

(yield) for 2D and 3D flexes, with separate stretching and

bending yield strains for 2D shells, volumetric-deviatoric (von Mises $J2$) stretching and 2D shell bending

return mapping (right).

- See model/plastic/ for examples.
- abaf8d518 Split the Python distribution into mujoco-core (minimal bindings and C library depending only

on numpy), mujoco-studio (Studio and Filament renderer bindings), and mujoco (default package installing

both). When upgrading from a pre-split mujoco installation with pip, uninstall first

(pip uninstall -y mujoco && pip install mujoco) or run

pip install --force-reinstall --no-deps mujoco mujoco-core mujoco-studio after upgrading so pip does not

remove files moved to mujoco-core. To switch an existing mujoco installation to core-only, run

pip uninstall -y mujoco mujoco-studio && pip install --force-reinstall --no-deps mujoco-core.

Note

Updated documentation for the split Python packages (mujoco, mujoco-core, mujoco-studio) and prebuilt OpenUSD wheels (mujoco-usd / mujoco[usd]) landed shortly after the 4.0.0 release (39ddbb61a). Please refer to the latest docs for Python bindings and OpenUSD rather than stable or 4.0.0.

**Engine**

Warning

**Breaking changes**

- a65050166 Changed the semantics of sidesite: the tendon now goes around

the geom the same way as the path from the first endpoint, through the side site, to the second endpoint (thin

grey line below). Formally, the tendon is the shortest path homotopic to this polyline in the wrapping plane with

the geom removed.

Previously, a half-plane test was used, which could make the tendon jump onto the geom, a discontinuity in tendon

length, when the segment between the endpoints moved away from the side site while clear of the geom. It could

also select the wrong side for wraps longer than 180 degrees. Top row: old rule; bottom row: new rule.

The new rule has a single discontinuity: when an endpoint crosses the ray opposite the side site, the path

through the side site changes its winding around the geom and the tendon snaps off. This can change the behavior

of existing models.

Migration: Place side sites so that the endpoints do not cross this ray over the range of motion, typically

near the middle of the wrapped arc. For example, the side sites of the

two-link arm were moved from

directly below the joints to 45 degrees below the arm, which reproduces the previous tendon lengths exactly.

- 9a7f240f0 The RK4 integrator is now fourth-order accurate for the

orientations of ball and free joints. Previously, the angular velocities of the Runge-Kutta stages were combined

without the Runge-Kutta-Munthe-Kaas correction, so orientations converged only at second order. This changes the

simulation of models with ball or free joints that use RK4.

- 9916cc5f7 Added surfacevel[3] to mjContact, storing the relative

surface velocity (geom[1] minus geom[0]) in the contact frame

Source: GitHub (notes: [github.com](https://github.com/google-deepmind/mujoco/releases/tag/4.0.0)), read 2026-11-25.

### 3.17.0 (Oct 22, 2026)

**Significant new features**

- c00ed8153 Added a batch API in mujoco/mjbatch.h (in Python as

mujoco.batch): many simulations of one model stepped on a thread pool of its own, each held as its

integration state and loaded into an mjData for each call, so memory scales with threads and results are

bit-identical to a plain loop at any thread count. It supports per-simulation model and option fields or models of

the caller's, observations of the state after a step, recorded trajectories, persistent simulations (required for

sleep), and arbitrary per-simulation functions. Follows the design of

mjbatch by @kevinzakka.

**Engine**

- Flex improvements:
- 94483e166 Added bending elasticity for 1D flexes, using a twist-free isotropic

discrete elastic rod model. The cross-section is selected with the new section

attribute: a circle of the flex radius, or a box with half-sizes sectionsize

that uses the stiffness of its weak axis. It is enabled by a positive young modulus,

requires a straight reference configuration (curved initial poses can be set with qpos or keyframes), is

compatible with edge equality constraints, and is integrated implicitly by the discrete

integrator. Previously young was ignored for 1D flexes: existing models that set it now bend, and fail to

compile if the cross-section is degenerate (zero radius with the default circle section), if a vertex joins a

zero-length edge, or if the rod is not straight.

- 36d0df9a5, 897e3fcb1 Interpolated flexes (trilinear or quadratic

dofs) now support self-collision, excluding elements in

the same or neighboring cells.

- 39dd10f2d The default arena memory for flex models is now much smaller, sized from

the flex mesh topology instead of nv^2. If the Newton solver runs out of arena memory it falls back to CG with

a warning.

- mjsetConst now computes only quantities derived from other fields of mjModel, while the compiler alone

resolves spec-level conventions:

- 55c1b585a, d6d41f324 The damping of position actuators from

dampratio, the spring length of tendons from (-1, -1), and model statistics

are now resolved only at compile time, not by mjsetConst. Set the model fields directly when editing a

compiled model (mjcopyBack now copies tendon spring lengths back to the spec).

- c8362756d Constraint solvers now scale their termination criteria by the trace of the current inertia

matrix (of the model or island) instead of mjModel.stat.meaninertia. Models solved with PGS, noslip or islands

disabled can stop at slightly different iterations. The meaninertia attribute is

deprecated and now emits a compile warning; remove it to migrate.

- abddec5b9 For body-based weld constraints without a specified

relpose, the relative pose in qpos0 is now recomputed by mjsetConst when

the model is modified after compilation (matching the second body's anchor in

body-based connect constraints). The compiler marks such welds with a nonzero eqdata[11], and

mjNEQDATA increased from 11 to 12.

Warning

Source: GitHub (notes: [github.com](https://github.com/google-deepmind/mujoco/releases/tag/3.17.0)), read 2026-11-25.

### 3.16.0 (Oct 14, 2026)

**Significant new features**

- cf89a6375, 4316935b3, 6d98d9fab, 5f17e92eb, 89d59b11f,

147dc67d0 Frames can now scale their contents at compile time—without modifying the

mjSpec—via the new scale, scaling, and

massscale attributes. The default similar policy scales all physical quantities so that

dynamics are preserved under proportionally scaled gravity, whereas geometry scales only spatial dimensions and

inertias (and supports anisotropic scaling). Masses scale with volume unless overridden by massscale. External

references to scaled elements—including actuators, tendons, constraints, sensors, keyframes, and deformable/mesh

assets—are scaled consistently, and mjcopyBack maps values back into unscaled spec coordinates. See

frame/scale for details.

- 592c54ad3, 92b8f4b27, d4595d020 Added compiler attributes

savecompiled and savecanonical (both defaulting to

"true") to preserve original authoring when saving models to XML. Setting savecompiled="false" saves the

uncompiled mjSpec directly—retaining default classes, frames, and authored numeric values—so the saved XML

reloads into an identical spec. Setting savecanonical="false" additionally preserves the original input

conventions, such as orientation representations, degree/radian units, and actuator shortcuts; see

Model Encoding & Saving. mjcopyBack (MjSpec.copyback in Python) now updates only the

modified fields in the spec while leaving all other authored values untouched.

- 9d953b40c Added support for building MuJoCo with Bazel (initially covers core

library, simulate, plugins, and samples).

**General**

Warning

**Breaking API changes**

- ea5e711c1 mjfDecode, the decode callback of mjpDecoder plugins, and

mjudecodeResource now take char error, int errorsz arguments. A decoder which fails writes its

reason into error, which is then reported by mjparse and in mesh compilation errors, rather than only

as a warning with a generic error.

Migration: Add the two arguments to custom decoders and write failure messages into error (if not

NULL) instead of calling mjuwarning. Pass an error buffer, or NULL, 0, to

mjudecodeResource.

- 2757493d9 Shortened the names of mjpResourceProvider functions. mjpgetResourceProvider is

renamed to mjpfindProvider, consistent with other prefix and extension lookups.

Migration: Rename as follows:

|br| mjpdefaultResourceProvider → mjpdefaultProvider

|br| mjpregisterResourceProvider → mjpregisterProvider

|br| mjpresourceProviderCount → mjpproviderCount

|br| mjpgetResourceProvider → mjpfindProvider

|br| mjpgetResourceProviderAtSlot → mjpgetProviderAtSlot

|br| mjpregisterArchiveResourceProvider → mjpregisterArchiveProvider

Source: GitHub (notes: [github.com](https://github.com/google-deepmind/mujoco/releases/tag/3.16.0)), read 2026-11-25.

### 3.15.0 (Oct 5, 2026)

**General**

- 1aa68e1ca .mjz archives written on Windows now always use / separators.
- 1aa68e1ca Assets in a meshdir or texturedir now

resolve correctly in .mjz archives when rewritten or when the directory path is absolute, uses

.., or uses a URI scheme.

**Engine**

Warning

**Breaking API changes**

- b3dd9e617 Actuator dampratio now computes the reflected inertia

$m$ at mjModel.qpos0 as the operational-space inertia $(J M^{-1} J^T)^{-1}$ (averaged across force

outputs for multi-output actuators such as orientation), rather than summing

$\text{dof\M0}j / Jj^2$ across degrees of freedom. This accounts for tendon and actuator armature as well

as off-diagonal inertial coupling, and avoids extreme damping values when a multi-DOF transmission has small

Jacobian entries. In practice, actuators using dampratio on multi-link kinematic chains may exhibit lower

damping than before, while actuators driving tendons or sites that span multiple joints will be damped much more

accurately instead of being overdamped.

- 5023a4a50 Removed the deprecated internal flex collision option and associated evpair

structures.

- 1b973add4 Added experimental simplified Stable Neo-Hookean elasticity for non-interpolated 3D flexes,

enabled only through mjsFlex.elastic3d = 1. It projects the material Hessian to positive semidefiniteness for the

solver and Rayleigh damping, and preserves the Saint Venant-Kirchhoff (StVK) default (0).

SNH requires the discrete integrator. The setting is not available in MJCF.

- 2742de438 The cached flex bending factor now retains cross-coordinate couplings between differently

oriented vertex bodies.

- eed008905 Flex bending and stretching now include the motion and reaction forces of articulated vertex

attachments. The discrete integrator supports these attachments with the CG solver; fixed and independent XYZ-slide

attachments retain their optimized assembly. Elastic flexes attached to mocap bodies produce a compiler error.

- 6224e95f6 Added single-shot multicontact for collisions with capsule geoms.
- ebfb4662d Added the enclosed attribute to

insidesite sensors, measuring how much an object juts out of a site (using directed

Hausdorff distance) and reporting signed clearance/protrusion.

- f80ef4244 Fixed 64-bit model size narrowing in binary MJB serialization: mjsaveModel and

mjloadModelBuffer now accept mjtSize for buffersz, supporting models larger than 2 GiB.

Source: GitHub (notes: [github.com](https://github.com/google-deepmind/mujoco/releases/tag/3.15.0)), read 2026-11-25.

### 3.14.0 (Sep 22, 2026)

**General**

- 458189298 Added the ipc flag, an experimental contact mode of the discrete

integrator for penetration-free flex contact. Each step minimizes an incremental potential subject to linearized

contact constraints, using a barrier-free augmented Lagrangian whose subproblems are the discrete solve. Every

committed position update is verified intersection-free by continuous collision detection, so flex contact cannot

tunnel. Supported for dim-2 flexes: a flex with edge equality constraints keeps its elasticity in the constraint

solver, while elastic2d elasticity is integrated implicitly through the effective metric. The contacts the mode

resolves are frictionless. The mode keeps contact multipliers across steps that no state specification covers, so

mjgetState/mjsetState do not capture its full state and exact replay is not supported.

- 2fec92237 Introduced archive resource providers

(mjpregisterArchiveResourceProvider). Archive providers use the

mjpResourceProvider interface to mount and read archive containers (such as

.mjz/.zip), decoupling container handling from format decoders and enabling

on-demand asset extraction without requiring a pre-allocated VFS.

- e312ce82d Frames are now preserved when saving MJCF: ‹frame> elements are written with

their pos and quat and their contents in frame-relative coordinates, so a saved model reloads with the same

frames. Previously the frame transformation was accumulated into the children on save and only the frame's name was

kept. Changes to the pos or quat of a frame in an mjSpec now also take effect when the spec is

recompiled.

**Engine**

Warning

**Breaking API changes**

- dc8bb1364 mjreadCtrl now matches the signature and semantics of mjreadSensor to support

multi-input actuators (e.g., pid, dcmotor,

orientation): it takes an output buffer result of size actuatorctrlnum[id]

and returns const mjtNum (a pointer into mjData.ctrl or mjData.history on zero-order-hold or exact

timestamp matches, or NULL when interpolated values are written to result). Actuator history buffers now

store actuatorctrlnum[id] values per sample, and mjinitCtrlHistory expects nsample  actuatorctrlnum[id] values (#3597).

- 9e0c6b577 The mjWARNINERTIA warning is now also raised by the modified-inertia

factorizations of the implicitfast and damped-Euler integrators (previously silent) and of the

implicit integrator (previously a fatal error).

- 35c0631de The sparse Newton solver no longer aborts with a "rank-deficient sparse Hessian" error when

rounding loses a pivot of its Hessian, as can happen in single precision with ill-conditioned inertia. The pivot is

now clamped and its row decoupled, as in the dense factorization.

**Bug fixes**

- 2a3f1f5a4 Procedural model editing is no longer quadratic in the number of elements. mjSpec previously

recomputed the compilation signature on every mjsaddGeom-like call, and mjssetName rescanned every

name of the element's type. Both are now incremental. Building a spec with 8000 geoms is roughly 10x faster.

Warning

**Breaking API changes**

mjsElement.signature is now 0 whenever the spec has been structurally edited since it was last compiled,

rather than being eagerly recomputed on each edit. It is still equal to mjModel.signature after a successful

mjcompile, which is what mjcopyBack and the Python bind methods rely on. Code that compared the

signature of an uncompiled spec against anything other than 0 must compile first. Additionally, when

Source: GitHub (notes: [github.com](https://github.com/google-deepmind/mujoco/releases/tag/3.14.0)), read 2026-11-25.

### 3.13.0 (Sep 9, 2026)

**General**

- eb18d77ca The .mjz encoder now writes the root file as model.xml in the archive as

this is less susceptible to breakage due to file renaming.

- 4affbb64a Site geometries can now also be associated with meshes (type="mesh" with

mesh="name"), supporting visualization, the insidesite

sensor, and the new mjinsideSite function.

- b59b07fae Added support for Python 3.15 (GIL and Free-Threading).

**Engine**

- 5660353ec Added a new integrator discrete: the constraint solve and the implicit velocity update merge

into one operation, performed in the effective metric $\widehat{M} = M + hD + h^2K$, which incorporates both

implicit damping $hD$ and implicit position stiffness $h^2 K$. Under this integrator mjData.qacc is

the discrete step map $(v^+ - v)/h$, and joint, tendon and actuator stiffness and damping join the solver's

metric, making passive springs and actuator position gains stable at timesteps far beyond the explicit stability

limit. Constraint rows are treated implicitly as well: solref spring--dampers are evaluated at the end of the

step, so constraints are stable at any timeconst; under this integrator the refsafe

flag replaces contact and limit rows stiffer than the timestep can resolve by the stiffest zero-restitution row

instead of clamping timeconst. The actuator-gain treatment resolves the stiff-servo timestep limitation of

#3443 (analysis contributed by @qiayuanl). See the

integrator documentation for semantics and current limitations.

Warning

**Breaking API changes**

Removed the implicit flex effective-metric special case under implicit/implicitfast with the CG

solver, introduced in 3.11.0. This behavior now requires integrator="discrete" (with a primal solver:

CG or Newton), which additionally treats joint damping and stiffness implicitly inside the solve. Models

relying on the old behavior should set integrator to discrete; models with flex

elasticity or passive flex contact under implicit/implicitfast now raise a runtime error carrying this

migration note.

- 0b4e17747 Restored clamping of non-positive pivots in the sparse inertia factorization, along with the

associated mjWARNINERTIA warning. The guard was inadvertently dropped in the 3.3.0 conversion of qLD to CSR

format; since then, models with singular mass matrices silently produced non-finite accelerations, typically

surfacing as divergence warnings and automatic resets.

- c9d997610 Added single-shot multicontact for collisions with cylinder geoms.
- 10eeb8289 The Newton solver with elliptic cones now rebuilds the cone-augmented Hessian

factor with a single refactorization instead of per-contact rank-1 updates when a flop-count model predicts this is

faster. Scenes with many simultaneously sliding contacts speed up by 1.4-2x on average and 3-4x on the slowest steps.

Contribution by @kevinzakka.

**Compiler**

- 2a3957558 Custom text fields (custom/text) in MJCF now accept their values inside a

‹![CDATA[ ... ]]> block in addition to the data attribute. When saving a model via mjsaveXML, custom

text containing newlines or XML characters is exported as CDATA.

- 47ebfe48a Added cutoff attribute to sensor/tactile.

**Samples**

- 834983fbb Added render.cc: a headless offscreen rendering sample that saves an image to a

PNG image. Supports both the Filament and classic OpenGL backends, with command-line options for camera, resolution,

keyframe, simulation steps, geom/site groups, visualization and rendering flags, labels, and frames.

Source: GitHub (notes: [github.com](https://github.com/google-deepmind/mujoco/releases/tag/3.13.0)), read 2026-11-25.

### 3.12.0 (Aug 20, 2026)

**General**

- 3f8db4c1 The MJCF grammar is now defined in a single source of truth schema file, src/xml/mjcf.schema. The parser's grammar table, presence constraints, keyword maps, typed attribute bindings and save policies are generated from it and gated by tests, as are the schema's enum keywords and declared defaults against the C headers and default-constructors.

Warning

**Breaking API changes**

2. 6fe04aa8 Removed the custom binary texture format (image/vnd.mujoco.texture) and the automatic fallback to custom textures when loading files with unrecognized extensions. Textures can now only be loaded from PNG (image/png) and KTX (image/ktx) files.

**Actuation**

- 279df98c Added the pid actuator: a PID controller with real position and velocity setpoint inputs, optional integral action (ki, integrating the position error with imax anti-windup), setpoint rate limiting (slewmax), and an optional feedforward input. This subsumes the functionality of the mujoco.pid plugin with proper activation state: correct under all integrators and visible to keyframes and sensors. With a zero velocity setpoint it is identical to position. The input signature is any subset of [pos, vel, ff], selected by input; absent setpoint inputs are fixed at zero, so the control vector contains no inert entries.
- 2f1843f4 The dcmotor on-board controller is redesigned: the input attribute selects any subset of [pos, vel, ff, voltage], where pos and vel are setpoints for the controller, ff is a torque feedforward, and voltage is the raw terminal voltage (the default, a plain voltage-commanded motor). Controller gains are in torque space, as for pid, and the drive voltage compensates back-EMF as in a current-controlled driver: commanded torque is delivered exactly until a limit is reached. The keyword input="none" selects the empty signature: the actuator has no control inputs and is purely passive, so friction, cogging and back-EMF braking can be used as passive joint forces.

Warning

**Breaking API changes**

5. 2f1843f4 The mode-flag semantics of dcmotor/input ("voltage", "position", "velocity", selecting the interpretation of a single control) are replaced by input signatures, and the controller gains changed from voltage space to torque space. The old velocity mode's integral term (integrated-velocity tracking) is retired without replacement; the integrator always accumulates position error.

Migration: Voltage-commanded motors (the default) are unchanged. Replace input="position" with input="pos" and input="velocity" with input="vel", and multiply the controller gains by $K/R$ (torque per volt). The motor's back-EMF damping, previously felt in addition to the controller's damping, is now compensated: to preserve behavior when the velocity setpoint is zero, add $K^2/R$ to the converted kd.

**Engine**

- 83e621d7 Optimized large-mesh convex collision detection with up to 2x speedup in certain cases.
- 55d13aec Replaced the per-step sparse Cholesky factorization of the flex block of the implicit effective metric M + K with its prefactored per-vertex 3x3 diagonal blocks. The blocks precondition the CG constraint solver and drive an iterative solve for qaccsmooth, which now converges on tolerance rather than a fixed threshold. Flexes with elastic2d stretch stiffness step roughly twice as fast; bending-only flexes keep the exact constant factor and are unchanged.
- 86e98601 Rewrote cleaner box-box SAT collider.

Warning

Source: GitHub (notes: [github.com](https://github.com/google-deepmind/mujoco/releases/tag/3.12.0)), read 2026-11-25.

### 3.11.0 (Jul 28, 2026)

**Engine**

- 4787c809 Added geom/surfacevel: the velocity of a geom's surface as seen by contacts, given as a velocity field with a constant component and a rotational component about the geom frame origin. This allows conveyor belts, treadmills and turntables to be modeled with static geoms and no degrees of freedom: friction drives touching bodies along the motion of the surface, with the field projected onto each contact's tangent plane. Surface velocities compose correctly with each other and with body motion. Note that the contact rows of mjData.efcvel, and the constraint-state sensors that read them, report the velocity relative to the moving surface rather than to the geom, since that is the quantity the constraint acts on; for geoms without surfacevel the two are identical. Contact-point visualization draws an arrow along the surface velocity at contacts with moving surfaces.
- a264d0bc Added geom/adhesion and pair/adhesion: an adhesive force associated with a contact, useful for modeling sticky materials. Contacts can pull with up to the given force before breaking, and the friction budget becomes $\mu(fN + \text{adhesion})$. Combined with gap, adhesive contacts apply "adhesion at a distance", useful for modeling magnets. Resting penetration is unaffected by adhesion. mjcontactForce reports the net interface force, whose normal component can now be negative.
- f0fa3d82 Replaced midpoint integration of free bodies with gyroscopic derivatives in the implicitfast integrator: the bias-force derivative of every standalone free body is applied via a local unsymmetric solve of its decoupled block, making implicitfast identical to implicit for such bodies. Unlike midpoint integration, which required vacuum and no constraints, this applies in all environments (contacts, fluid, constraints), and is compatible with discrete-time inverse dynamics. Spinning free bodies no longer gain energy, but tumbling motion is now mildly damped; models requiring long-horizon energy conservation of tumbling bodies in vacuum should use RK4. The invdiscrete flag no longer has any effect on forward dynamics.
- 5618666a Added body/simple attribute ("false"/"auto") to disable the simple body mass matrix optimization. This is useful for domain randomization, where model parameters may change post-compilation.
- 14c0b0c9 mjsetConst now recomputes the mjModel.{body,geom,site}sameframe flags, to account for changes in body/geom/site frames after compilation.
- 2444defc Added support for multiccd with arbitrarily large meshes.
- a04b0c5b Added flggravcomp and flgsurfacevel boolean flags to mjModel. These flags replace the fast-path checks as originally guarded by ngravcomp. Since the engine uses these integers as flags (zero vs. non-zero), the new flags are honest boolean properties, writeable from the Python bindings at runtime. The field ngravcomp is deprecated and will be removed in a future release.
- a1f38c8e Replaced quadratic scratch in DFS flood-fill island discovery with a linear-memory Union-Find (disjoint set). Contribution by @teerthsharma.

Warning

**Breaking API changes**

- ff629889 Changed the default value of sleeptolerance from 1e-4 to 1e-3 (1mm/sec in SI units).
- 315bcfbf Removed the legacy sparse ancestor-walk inertia matrix mjData.qM. The joint-space inertia matrix is now stored exclusively in the compressed sparse row (CSR) format mjData.M.
- 7e9ac58f Switched mjdinverseFD to use the CSR-format mjData.M representation instead of the legacy mjData.qM for the mass matrix derivative. This changes the shape of the DmDq parameter from (nv x nM) to (nv x nC).
- 1ea2d884 mjuround now breaks ties away from zero rather than towards $+\infty$. This only affects negative half-integers, e.g. mjuround(-2.5) now returns -3 rather than -2.
- fa36015b Removed unneeded mjvScene argument from mjvmoveCamera.

Source: GitHub (notes: [github.com](https://github.com/google-deepmind/mujoco/releases/tag/3.11.0)), read 2026-11-25.

### 3.10.0 (Jun 23, 2026)

See the changelog

Source: GitHub (notes: [github.com](https://github.com/google-deepmind/mujoco/releases/tag/3.10.0)), read 2026-11-25.

## Details

- Latest version: 4.0.1
- Released: Nov 11, 2026
- Last checked: Nov 26, 2026, 21:18 UTC
- Website: https://mujoco.org/
- Homebrew cask: mujoco
