For any separation agreement in the UK signed under English law, the starting point is section 34 of the Matrimonial Causes Act 1973 (for civil partners, paragraph 68 of Schedule 5 to the Civil Partnership Act 2004). Any clause that tries to stop either spouse applying to the court for financial orders is void, but the other financial arrangements remain binding. The court can also alter a maintenance agreement under section 35 if circumstances change. So the agreement binds you as a contract, yet it never removes the judge's discretion.
How much weight does it carry? In Edgar v Edgar [1980] 1 WLR 1410 the Court of Appeal held that a formal agreement, properly and fairly reached with competent legal advice, should not be displaced unless there are good and substantial grounds for concluding that holding the parties to it would cause injustice. The Supreme Court in Radmacher v Granatino [2010] UKSC 42 went further for nuptial agreements generally: the court should give effect to a nuptial agreement freely entered into with a full appreciation of its implications, unless it would not be fair to hold the parties to it. None of this means a judge is bound. Undue pressure, hidden assets, unmet needs of a child or a big unforeseen change can all justify departing from it.
Since 6 April 2022, divorce and dissolution are no-fault under the Divorce, Dissolution and Separation Act 2020: there must be at least 20 weeks between the application and the conditional order, then 6 weeks before the final order. A pension can be divided only by a pension sharing order made by the court, and the Child Support Act 1991 lets either parent ask the Child Maintenance Service for a calculation whatever you agreed. For tax, section 58 of the Taxation of Chargeable Gains Act 1992, as amended by the Finance (No. 2) Act 2023, treats transfers between separated spouses as giving rise to neither a gain nor a loss until the end of the third tax year after the tax year of separation, or until an earlier divorce order. The GOV.UK guidance on making a financial agreement legally binding with a consent order explains the court step.