House - Olivia Wilde House - Olivia Wilde

Remember Thirteen's mysterious request for time off on this week's House finale? It makes a little more sense now.

Were you happy with the House finale? Read our recap and weigh in!

Olivia Wilde will take a leave of absence from Season 7 of the Fox medical drama come fall because the actress is taking time off to star in the Jon Favreau directed film Cowboys & Aliens, according to Entertainment Weekly.

"Olivia will be there at the very beginning of the season, and then she will not be there for a period of time," executive producer Katie Jacobs told the magazine.

Watch free full episodes of House

Production on the sci-fi Western — which also stars Daniel Craig, Harrison Ford, and Sam Rockwell — begins production next month and is expected to overlap with the new season of House by at least two months.

How do you think the departure will be written in?