Najwa Putri Pratiwi; Cahyawiati Cahyawiati
Marriage agreements frequently give rise to juridical issues when intersecting with inheritance law, particularly within the context of second marriages. This study is based on an inheritance dispute examined in the Palangka Raya District Court Decision Number 21/Pdt.G/2022/PN.Plk, wherein the second wife argued the existence of a marriage agreement to annul the inheritance rights of children from the previous marriage. Using a normative juridical method with statutory and case approaches, this research evaluates the agreement’s validity against formal registration requirements and freedom of contract limitations. The findings indicate that the marriage agreement invoked by the defendant was declared invalid and lacked binding legal force due to noncompliance with the formal registration requirements under Article 29 of the Marriage Law and the inclusion of clauses contrary to inheritance provisions in the Civil Code, particularly concerning the rights of children as lawful heirs. Consequently, the disputed property was classified as marital property to be distributed among all heirs in accordance with applicable law. This study affirms that freedom of contract in marriage agreements is limited and cannot override legal protection of legitimate heirs.