News
Game
Guides
Downloads
Versions
/pardon-ip
COMMANDS SERVER ADMIN SERVER · LEVEL 3 Added in 1.14 or earlier

/pardon-ip command in Minecraft

/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.

Syntax

/pardon-ip <target>

// Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.

ArgumentExpectsWhat it does
targetTextone wordThe banned IPv4 address exactly as listed by /banlist ips, for example 203.0.113.42.

Examples

Unban an address

/pardon-ip 203.0.113.42

Players connecting from 203.0.113.42 can join again, unless their account is banned.

Java 26.3

Find the banned addresses

/banlist ips

Lists every banned IP so you can copy the exact one.

Java 26.3
Build your command

Fill in the fields, then copy the command.

Command generator

Lifting an IP ban

Unlike /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

/pardon-ip: FAQ

Can I use a player name with /pardon-ip?

No. Only an IP address works, such as 203.0.113.42. Find it with /banlist ips.

Does /pardon-ip unban the accounts on that address?

No. Account bans are separate and must be lifted one by one with /pardon.

How do I use /pardon-ip?

On a server, as an operator or from the server console: /pardon-ip <target>. It does not exist in single player.

Who can use /pardon-ip?

Server operator, level 3. Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.

Related commands