Unban an address
/pardon-ip 203.0.113.42Players connecting from 203.0.113.42 can join again, unless their account is banned.

/pardon-ip removes an IP address from the ban list, so players connecting from it can join again. It is the counterpart of /ban-ip and runs on dedicated servers, from the console or as an operator with level 3 or more.
/pardon-ip <target>// Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.
| Argument | Expects | What it does |
|---|---|---|
| target | Textone word | The banned IPv4 address exactly as listed by /banlist ips, for example 203.0.113.42. |
/pardon-ip 203.0.113.42Players connecting from 203.0.113.42 can join again, unless their account is banned.
/banlist ipsLists every banned IP so you can copy the exact one.
Fill in the fields, then copy the command.
Command generatorUnlike /ban-ip, this command only accepts an address, not a player name. Get the exact address from /banlist ips with /banlist. A wrong format returns Invalid IP address, and an address that is not banned returns Nothing changed. That IP isn't banned.
Lifting the IP ban does not lift account bans. If the player was also banned by name, run /pardon too, otherwise the server still refuses the connection. The change applies at once, without a restart.
✓ Checked in Java Edition 26.3 · updated 2 November 2026
No. Only an IP address works, such as 203.0.113.42. Find it with /banlist ips.
No. Account bans are separate and must be lifted one by one with /pardon.
On a server, as an operator or from the server console: /pardon-ip <target>. It does not exist in single player.
Server operator, level 3. Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.
/ban-ipServer/banlistServer/kickServer/whitelistServer/stopServer/save-allServer/save-offServer/save-onServer