Baldwin famously wrote in New York magazine that he was leaving New York, and public life, in 2014. But three years later, he seems to be more in love with the Big Apple than ever before, stealthily buying up multiple apartments on a single floor of Devonshire House — a grand prewar building at 28 E. 10th St. in the Greenwich Village.

Now, according to city property records, Baldwin has bought another unit — his third — on this floor for $1.31 million. In an off-market transaction, he nabbed 12G. Mansion Global first reported the deal.

Details of the new apartment are not available, in part because it was not publicly listed. The deal seems to offer more room for his brood, especially because all three apartments could be combined into one.

Baldwin has three children with his yoga-loving wife, Hilaria: Carmen, Leonardo and Rafael. Alec also has an older daughter, model Ireland Baldwin, from his previous marriage to Kim Basinger.

Over six years, the Baldwins have amassed three apartments on the same floor of Devonshire House on East 10th Street.Zandy Mangold

This amassing of 12th-floor real estate has taken place over the last several years.

In 2011, Baldwin bought a penthouse, 12E, for $11.7 million. That four-bedroom unit is a spacious 4,137 square feet. The next year, Baldwin bought an adjacent 840-square-foot unit on the same floor for $1.21 million. Records show he also bought and subsequently sold a Devonshire House apartment on another floor.

Baldwin is so passionate about real estate that he named his production company, El Dorado Pictures, after the El Dorado, the grand Upper West Side building where he lived before moving downtown.

Baldwin sold his home there, at 300 Central Park West, for $9.5 million in 2011. In May, he sold a separate, one-bedroom unit in the same building for $1.25 million.

Both Devonshire House and the El Dorado were designed by noted prewar architect Emery Roth.