Quick answer

Protect your base with trenches, inspect the Hardmode conversion, and clean infected areas with the Clentaminator.

Terraria

Protect your base and important NPC homes first: dig continuous isolation trenches around the area and remove thorns and vines that can bridge gaps. After entering Hardmode, inspect the newly generated infected bands. Once you defeat a mechanical boss and obtain the Clentaminator, clean the area in sections and check it again; nearby infected terrain can spread back into cleaned ground.

When biomes spread

Corruption, Crimson, and Hallow can spread to susceptible nearby blocks. Before Wall of Flesh their spread is more limited. The first defeat of Wall of Flesh creates new diagonal bands of evil and Hallow and accelerates ordinary spread. Existing trenches can block spread approaching from outside, but cannot guarantee that a newly generated band will not pass directly through the protected area.

After Plantera is defeated for the first time, spread from all three biomes slows but does not stop. Do not remove your barriers just because you beat the boss, and do not assume the whole world is beyond saving either.

Dig isolation trenches around the base

Dig a continuous channel around the homes and facilities you want to protect, extending downward through the area that needs isolation. Infectious blocks can affect susceptible blocks within three tiles, so use at least three tiles of air or non-corruptible material. Thorns and vines can grow across gaps, however, so a three-tile empty trench alone does not handle every situation.

For construction, consider digging wider, lining exposed grass on trench walls with wood or other resistant material, and removing protruding vines and thorns. Check the top, bottom, and sides for remaining connections. If the trench does not enclose the infection or infected blocks pass underneath it, the other side can still be reached. Recheck important bases regularly.

Clean affected areas

After defeating at least one mechanical boss, the Steampunker can appear; a suitable vacant house lets her move in. From version 1.4.5, eligible town NPCs may visit during the day without an empty house, but prices are higher and they leave at night if still unhoused. Prepare housing first in older versions. Buy the Clentaminator and suitable solution from her. Green Solution purifies Corruption, Crimson, and Hallow but also changes Glowing Mushroom terrain, so check your spray area near mushroom settlements. Stock depends on the NPC’s biome and events; if Green Solution is absent, move her to a suitable location and check again.

Start at a known infected edge and spray in sections along horizontal and vertical tunnels, then establish the next inspection route beside them. Mark treated areas and recheck deep caves and trench bottoms. Spraying only the surface does not prove the underground is clean. Before buying the tool, remove infected blocks near homes and isolate them; you need not delay equipment progression to clean the whole map.

Preserve resources and recheck

Corruption, Crimson, and Hallow have unique enemies and materials, so complete purification is not always necessary. Keep controlled patches away from the main base if you want those resources later. If protecting a village is the priority, treat the housing area and connected routes to the base first.

Inspect boundaries after the Hardmode conversion, after large cleanups, and when returning from long explorations. If infection reappears, look for missed blocks, grass growing across the trench, or underground paths around it, then repair the isolation. One spray is not permanent protection.

Sources

Revision history

— Recently updated