The Château d'If (loosely translated as "House of Yar") is a fortress (later a prison) located on the island of If, the smallest island in the Frioul archipelago situated in the Mediterranean Sea about 1 kilometers offshore in the Bay of Marseille in southeastern France.