In PC/Mac clients, swimming is achieved by pressing (or holding down) . In the Xbox editions, swimming is achieved by pressing and/or holding . Swimming is necessary to survive in nearly every environment containing water since only two Blocks-deep of water are needed for a player to drown.while on the PS3 edition this is achieved by pressing and/or holding
Players move slower when swimming than on land.
- The speed penalty on a swimming player is reduced if they are wearing boots that are enchanted with the Depth Strider enchantment (1/3 reduction per level).
- The Respiration enchantment slow the rate of air loss for a player which allows for longer periods of time underwater without drowning. It will also reduce the damage taken by a player after they run out of air.
- The Water Breathing status effect, obtained from a Potion of Water Breathing or Arrow of Water Breathing, will prevent a player's air level from going down.
- The Fire Resistance status effect, obtained from a Potion of Fire Resistance or Arrow of Fire Resistance, will allow a player to swim safely in lava in survival mode as long as the effect lasts.