GROMACS molecular dynamics trajectory data
File type: Various data file
Files with trj file extension contain trajectory data from molecular dynamics simulations created by GROMACS.
They record the changing positions and other simulation data for particles over successive points in a simulation.
File type category:
Various data file
Date updated: November 2, 2026
The trj file extension is associated with GROMACS, an open-source molecular dynamics package used primarily to simulate proteins, lipids, nucleic acids and other molecular systems.
A trj file stores the trajectory of a simulation, allowing the simulated system to be analyzed or viewed over time. It is one of the data files used alongside the input, topology and structure files required by a GROMACS simulation.
TRJ is a legacy or less common GROMACS trajectory extension; current GROMACS workflows more commonly use other trajectory formats. GROMACS is available for Microsoft Windows as well as other platforms, but compatibility with an older TRJ file can depend on the GROMACS version that created it.
Open the TRJ file with GROMACS on Microsoft Windows. GROMACS is primarily a command-line package, so the file is normally opened by supplying it to a GROMACS analysis or trajectory-conversion command rather than by double-clicking it.
Use the GROMACS version that created the file when possible. A suitable molecular structure and topology file may also be required to interpret or visualize the trajectory correctly.
Use the GROMACS gmx trjconv command to convert a compatible TRJ file to another trajectory format or to export coordinate snapshots. The available output formats depend on the installed GROMACS version.
If the file is from an older GROMACS release, conversion may require that release or another tool that explicitly supports its legacy trajectory format.