"As elected officials, we have to set an example. We have to be extra careful that we are complying with rules and really being role models," the mayor said.
Pelosi received criticism this week after a visit to a San Francisco salon during a time when indoor hair salons were not allowed to operate under the city's COVID-19 guidelines.
RELATED: Nancy Pelosi discusses COVID-19 impact on children, Heroes Act amid salon visit backlash
A spokesperson for the San Francisco congresswoman said the business offered to cut Pelosi's hair and told her they were allowed to have one customer at a time inside the Union Street business.
"The Speaker complied with the rules as presented to her by this establishment," said spokesperson Drew Hammill.
Video footage showed Pelosi with a mask around her neck, rather than her face.
RELATED: Here's what Gov. Newsom's new 4-tier reopening plan means for the Bay Area
Under San Francisco's COVID-19 regulations, indoor salons are not allowed to operate.
"I think it's very unfortunate," Mayor Schaaf said. "It sounds like it was an honest misunderstanding, but I think people do expect us to be perfect, so we will try to do that. I know it's hard, speaking from personal experience."
Hair salons began operating outdoors Tuesday in San Francisco.
VIDEO: San Francisco business owners plea for clearer guidelines after getting green light to reopen