Forecasters are keeping a close watch on Hurricane Genevieve in the Pacific, which generated rough seas and where authorities said two people drowned.
The U.S. National Hurricane Center said a hurricane warning is in effect for parts of the Mexican peninsula, including the resorts of Los Cabos and the town of Todos Santos.
Civil protection officials in Los Cabos are urging people to remain at home.
The hurricane center said the center of Genevieve is expected to move into the vicinity of the Baja, California, peninsula Thursday.
A tropical storm warning is in effect for the west coast of the Baja, California, peninsula from north of Todos Santos to Cabo San Lazaro.
U.S. forecasters warn heavy rainfall from Genevieve could produce life threatening conditions, including flooding, mudslides, and rip currents in the southern end of Baja, California Sur.
Genevieve formed into a tropical storm Sunday night and quickly grew into a Category 4 hurricane before losing some intensity.