National Parks Service officials said they expect the closure to last through Tuesday, March 31.
"The health and safety of Yosemite National Park visitors and park employees is the park's top priority," officials said in a press release.
"We are working closely with public health officials and the park will continue to review operations and reopen facilities when appropriate," they added.
The hotels affected include:
Despite these facilities closing, Yosemite National Park remains open to the public.
Following guidance from the CDC and recommendations from state and local public health in consultation with NPS Public Health Service officers, visitor centers, museums, hotels, restaurants, and shuttles are closed. Yosemite National Park remains open.
— Yosemite National Park (@YosemiteNPS) March 17, 2020