/jfr Command in Minecraft Java Edition

Start and Stop JFR Profiling in Java

Java EditionDebug & DeveloperPermission: Level 4Added in 1.18

The /jfr command is a technical utility in Minecraft Java Edition that lets you start and stop JFR operations. It has a simple design with only two actions: starting the process and stopping it.

Server owners use this command when managing their Java Edition servers. Because it is a restricted tool, you must have level 4 permissions to run it.

Syntax (Java 26.3, 2 forms)

  1. /jfr start
  2. /jfr stop

The forms you will use most

/jfr start
Starts the JFR operation on your Minecraft Java Edition server.
/jfr stop
Stops a currently running JFR operation on the server.

Examples

Version history

Measured from the game files of every Java release from 1.13 to 26.3.

  1. 1.18 Command added.

Tips

Common mistakes

Java vs Bedrock

Minecraft Bedrock Edition does not have the /jfr command, as this feature is only available in Java Edition.

FAQ

When was the /jfr command added to Minecraft?

The /jfr command was added in Minecraft Java Edition 1.18 and remains available through version 26.3.

What permission level is needed for /jfr?

You need permission level 4, which is reserved for the server owner, to run the /jfr command.

Can I use /jfr in Minecraft Bedrock Edition?

No, Bedrock Edition has no command with this name, so it can only be used in Java Edition.

Related commands

/compute/debug/help/perf/stopwatch/test/tick/version