BELMONT, Calif. — During her 50 years of smoking, Edith Frederickson says, she has lit up in restaurants and bars, airplanes and trains, and indoors and out, all as part of a two-pack-a-day habit that she regrets not a bit. But as of two weeks ago, Ms. Frederickson can no longer smoke in the one place she loves the most: her home.

Ms. Frederickson lives in an apartment in Belmont, Calif., a quiet Silicon Valley city that is now home to perhaps the nation’s strictest antismoking law, effectively outlawing lighting up in all apartment buildings.

“I’m absolutely outraged,” said Ms. Frederickson, 72, pulling on a Winston as she sat on a concrete slab outside her single-room apartment. “They’re telling you how to live and what to do, and they’re doing it right here in America.”

And that the ban should have originated in her very building — a sleepy government-subsidized retirement complex called Bonnie Brae Terrace — is even more galling. Indeed, according to city officials, a driving force behind the passage of the law was a group of retirees from the complex who lobbied the city to stop secondhand smoke from drifting into their apartments from the neighbors’ places.