The midcentury modernistic steel-and-glass house in Highland Park known for its prominence in the 1986 film “Ferris Bueller’s Day Off” has gone under contract after most recently being listed for $1.25 million.

The 5,300-square-foot house and its iconic, detached glass-enclosed auto pavilion, which perches over a ravine on steel pilings, had been on and off the market since 2009, when it first was listed for $2.3 million but found no takers.

Most recently, the estate of the only owners the property ever has had, Ben Rose, who died in 2004, and Frances Rose, who died in 2009, had listed the property for $1.5 million in August.

Over the past six months, the price had fallen to $1.375 million, $1.275 million and finally to $1.25 million. The property went under contract on Jan. 16.