An enormous brick townhouse in Cobble Hill, Brooklyn, suitable as both home and studio with its voluminous rooms, soaring ceilings and built-in four-car garage, sold to the photographer Jay Maisel for $15.5 million, according to city records, breaking the record for the highest price ever paid for a single residence in the borough.

This past winter, Mr. Maisel sold his previous home and studio — the gritty six-story, 38,000-square-foot former Germania Bank building at 190 Bowery in Manhattan — to Aby J. Rosen’s RFR Holding for $55 million. The 1898 landmark structure, which has sometimes been mistaken for a derelict building because of its plentiful graffiti, had been home to Mr. Maisel since 1966.

His new residence, a nearly 27-foot-wide townhouse at 177 Pacific Street in a Brooklyn historic district, is three stories high with a full, finished basement; it has six bedrooms, six full baths and two half baths and an elevator, over about 10,000 square feet of space. The annual taxes on the house, which had a $16 million asking price, are $22,548.68.

Alexander F. Maroni of Douglas Elliman Real Estate, who represented the seller, identified as 177 Realty Corp., and also handled the sale for the buyer, said the interior was completely renovated and included a 20-person movie theater, a gym, children’s playroom, bar and wine cellar, as well as “smart home” technology. There is also a 2,600-square-foot roof garden with an outdoor kitchen, and all the floors, including those in the 1,000-square-foot garage, have radiant heat, he added.