Frankie Muniz, who stars in the title role of the Fox sitcom “Malcolm in the Middle”, has put his Westside home on the market at close to 6 million dollars, and he is in escrow to buy a house near by that is listed in the mid-$4-million range.

The house Muniz, 18, is selling was built in the 1920’s as a Mediterranean, but it was extensively remodeled before the actor bought it about a year ago.

During the remodeling, the home was turned into a Tuscan style villa with 5 bedrooms and 5 ½ bathrooms in just under 6,000 square feet. The gated estate has a 4,500 square foot main house and a newly built one-bedroom guesthouse and pool area.

A six car garage also was built during the remodeling. Muniz was known
as a car collector almost before he was old enough to drive.

The house Muniz is buying also underwent a major renovation and has sophisticated security features that would appeal to the actor’s character as a boy trained to perform special operations for the government in “Agent Cody Banks” (2003) and “Agent Cody Banks : Destination London”, released in March.

The house, built in the 60’s, has a surround system throughout and city views from the pool. The four-bedroom, five-bath-room house is slightly less than 4,000 square feet, according to public records.