Mirfield's public toilets look set to stay open.
Kirklees Council had threatened to shut them down today after talks over a lease broke down.
Mirfield Town Council had agreed to take on the toilets but negotiations over the terms and conditions reached stalemate.
Kirklees then demanded £3,000 for running costs by today, otherwise they would lock the doors for good.
After clear-the-air talks between Mirfield town councillor David Pinder, chairman of the toilets working party, and Kirklees chief executive Adrian Lythgo, an agreement has almost been reached.
A decision on whether to sign the lease will be made at Tuesday’s full Town Council meeting.
Kirklees had hit the Town Council with a bill for £4,500 which included £2,365.61 for cleaning, £204.59 for water, £288.12 for electricity and £1,663.20 in business rates.
Kirklees has now agreed to pay the business rates and the town council plans to negotiate with the Kirklees-owned cleaning company over the cleaning bill.
Clr Pinder said: “Common sense has prevailed and while neither side is entirely happy with the terms I will be recommending approval to the Town Council.
“We were always happy to pay something but not what Kirklees was demanding.”
Clr Pinder said Kirklees had also backed down on legal fees.
Kirklees wanted £1,000 for drawing up the lease but the cost has now been fixed at £250.
Kirklees shut most of its public toilets last April in a bid to save money.
After a public campaign Mirfield Town Council stepped in.
The Town Council could now seek sponsors or sell advertising space to local businesses.
Longer-term Clr Pinder did not rule out charging or contracting out the toilets to another company.
A Kirklees spokesman said: “We can confirm that the toilets in Mirfield will remain open until Wednesday, November 27 pending the result of a meeting of Mirfield Town Council on Tuesday, November 26.”