Is it possible to keep wolves from following you?

If you right-click a tamed wolf, it will sit. This prevents it from following you.

Further details can be found in the Minecraft Wiki article on Wolves, specifically on the movement section.


right click the wolf, it will command it to sit and stay at the position. It won't move from that spot.. no matter what (even if you light it on fire for example)