Where’s an author to recover from writer’s block now?

A Venice Beach bungalow where fictional bestselling author Hank Moody tried to get his mojo back by binging on coke and booze has changed hands for $14.6 million. The 5,000 square foot tropical modern residence housed David Duchovny’s character during the Showtime series’ seven season run and is now the most expensive recorded sale in the Los Angeles neighborhood, per the Hollywood Reporter.

Beyond “Californication,” the house has deep Hollywood pedigree: it’s been featured on 2002’s “Adaptation,” which starred Meryl Streep and Nicholas Cage, as well as “CSI: Miami.” The previous owner was architect David Hertz, who designed the Bali-inspired property that consists of four buildings connected by three bridges.

The seven-bed and eight-bath home comes with a lap pool and has amenities like a roof deck, media room, concrete flooring and an outdoor shower. Hertz, a notable environmentalist, built the wood-and-glass fronted home in 1995 and updated it a decade later. Before “Californication,” it was reportedly already known as a case-study in eco-friendly homebuilding.

Hertz told the Los Angeles Times that the buyer was a real estate group led by his business partner Nick Valencia, who builds eco-friendly homes. “I was reluctant to sell it, but I had worked with this client and the price just kept getting higher and higher,” he told the Hollywood Reporter.