higher priority: contract or law
<p>In my country there is a 3 month time length given by law, that applies when either one of tenant or landlord interrupts the contract about renting an appartment, between the announcement and the moving out points of time.</p>
<p>I am renting a place. My landlord wrote into our contract 5 months instead of the 3 months. I have signed the contract.</p>
<p>Which one of these two numbers is valid now? The one given by the law (3 months) or the one in our contract (5 months)?</p>

<p>In Germany the law is 3 months unless you have specifically &quot;verzichten&quot; your right to move out until a certain date or as in your case.</p>
<p>Regardless of what you both agreed in the contract it can still be done away with <em>if</em> both the parties agree. E.g. if you find a new tenant and your landlord agrees with it, you can even move out tomorrow.</p>

contract-law landlord