The detection of a New World screwworm (NWS) case 70 miles from the U.S. border last week is testing the nation's animal disease preparedness, sparking a race against time for regulators to ramp up preventative measures against a pest not seen in the United States in decades.

The discovery of a single infected animal in a Nuevo Leon, Mexico,...