A 24-year-old hiker got lost Saturday in southern San Mateo County’s coastal hills and spent the cold night there huddled behind a rock while authorities and volunteers searched for her.

The hunt ended when Victoria Glinskii, a San Francisco resident who intended to go for a short day hike with friends in the Skyline Ridge preserve, spotted a house the next morning, according to a statement released by the San Mateo County Sheriff’s Office.

She left her friends between 3 and 3:30 p.m. because she had to go to another engagement in San Francisco, the sheriff’s office said.

When Glinskii’s friends later returned to their cars, they noticed her vehicle was still there. She was considered to be “at risk,” according to the sheriff’s office, because she had no food or water with her.

Glinskii later told searchers she hiked up to the highest peak she could find Saturday evening to try to use her cell phone, but there was no service, the sheriff’s office said.

“As it became dark, Victoria bundled herself into her coat and remained behind a large rock she used for shelter,” the sheriff’s office statement said.

San Mateo County officials were notified of the missing hiker at about 6:40 p.m. Saturday, and the sheriff’s office, Midpeninsula Regional Open Space District rangers and the San Mateo County Office of Emergency Services began a “large-scale search” for Glinskii. A California Highway Patrol helicopter helped in the beginning hours, and a U.S. Coast Guard helicopter arrived at dawn to continue with the search, the sheriff’s office said.

“Missing person” flyers were distributed and a reverse 911 advisory was put out to residents in the area. About 75 people, including trained volunteers, helped with the search.

Once the sun rose Sunday morning, Glinskii followed a culvert until she found a house on the 22000 block of Skyline Boulevard and knocked on the door. An occupant who had received the notification and knew about the missing hiker called authorities.

Glinskii was uninjured and in good health, according to the sheriff’s office.

E-mail Diana Samuels at dsamuels@dailynewsgroup.com.