When AMC Networks, the home of such hits as “The Walking Dead” and “Killing Eve,” hired the architecture firm The Switzer Group to renovate its headquarters in Midtown Manhattan, it had the designers eliminate some private offices and add focus rooms, some of which had walls upholstered in sound-absorbing fabric.

It has taken some employees time to get used to the new setup.

“I would see people on their phone pacing the halls,” said Thomas King, the vice president for real estate, facilities and security at AMC, who oversaw the renovation. “I would tell them, ‘Go to a focus room.’”

Some companies are tailoring their spaces to even more specific needs.

In Chicago, at the headquarters of Gogo, the in-flight internet provider, a prayer and wellness room is outfitted with an ablution station that can be used by Muslims who practice foot washing before praying.

Lactation rooms, also known as mothers’ rooms, are in part a response to legislative mandates. A 2010 amendment to the Fair Labor Standards Act requires that companies of 50 or more employees provide a private place for new mothers to pump milk during the day. In recent years, states have also passed legislation strengthening the rights of nursing mothers.

The rooms being designed for them are typically equipped with comfortable seating, outlets for plugging in pumps, refrigerators for storing milk and, sometimes, sinks for washing hands and equipment.

Two Trees Management, a New York real estate firm, added mothers’ rooms to three of its Brooklyn office buildings last year in response to requests from tenants. In two of the buildings, the company converted storage rooms for the spaces; in the third, it used part of an office.

The mothers’ rooms have been popular among companies renting small offices that lack the space to provide such rooms for their employees, said Elizabeth Bueno, the director of leasing at Two Trees. And they have become another feature, like roof decks and bike-storage rooms, that the company can promote when touring prospective tenants.