Last year, STV and ITV ended three different legal rows - covering disagreement over programme rights contributions and video on-demand - by agreeing a £18 million settlement, involving STV paying £7.2m in cash to ITV in 2011 and a further £10.8m in cash or programme rights, depending on "further discussions" between the two broadcasters.
Those negotiations have now been completed, and the settlement balance of £10.8m will be paid by STV to ITV plc over the next 18 months in a mix of "programme stock and cash".
STV has also renewed its Channel 3 licence and is to become an "affiliate" of the ITV Network, subject to regulatory approval by media regulator Ofcom.
UTV, the ITV licence holder in Northern Ireland, has also renewed its Channel 3 networking agreement. Channel 3 licence holders carry ITV1 in their areas, but also deliver their own branded broadcast service to viewers.
STV said that it hopes the new arrangement will deliver "sustainable cost-sharing arrangements" for the ITV Network, as well as "enable the continued delivery of high-quality commercially sustainable public service broadcast services into the next licence period".
Rob Woodward, the chief executive of STV, said: "Today's announcement confirms the stability and certainty of long-term, commercially sustainable networking arrangements between the Channel 3 licence holders.
"STV remains 100% committed to its public service broadcasting credentials, to delivering a distinct schedule for Scotland and to providing a platform for informed debate.
"We are delighted to have reached agreement on a set of terms which will benefit our viewers and consumers across all distribution platforms."
ITV chief executive Adam Crozier added: "We look forward to continuing our positive relationship with STV under a new affiliate agreement.
"This agreement, which is still subject to regulatory approval, represents a major milestone for us as it consolidates and simplifies the ITV Network."
> STV enjoys digital boost as ad market softens