LARRY SMITH knows he is treading a fine marital line. Mr. Smith, 37, is the editor of Smith, an online magazine he founded, and he loves to work in bed at all hours — midafternoon, 2 a.m. if insomnia strikes, then again in the morning.

“Sitting there in bed half awake with a cup of coffee is extremely pleasant,” he said.

Yet Mr. Smith is all too aware of his wife’s mounting disapproval of his routine and suspects that a laptop-in-bed ban could be imminent.

As electronic devices get smaller, people tote their technology around the house more than ever. And as the number of home wireless networks also grows, laptops — along with Treos, BlackBerries and other messaging devices — are migrating into the bedroom and onto the bed. The marital bed has survived his-and-her book lights and the sushi-laden bed tray. Can it also survive computers that tether their owners to the office or make the bed the workplace itself?

Piper Kerman, Mr. Smith’s wife, tries to be understanding about her husband’s need to work constantly, but her tolerance has limits, especially when she thinks about the significance of their bed, their first joint purchase when they started out as a couple 10 years ago.