Knole House in Sevenoaks, Kent, is to receive £7.75m for repairs and conservation from the Heritage Lottery Fund.
The funding will also go towards the construction of new visitor facilities at the 15th century medieval palace, a former hunting lodge to Henry VIII.
The National Trust said that since acquiring Knole in 1946, it had faced expensive running battles with rain, damp, mould and insects, but the funding meant the future of the mansion and its treasures were now secure.
More top news
Man who has barricaded himself in house for three days may have a stash of petrol and other explosives, police say.
Transport secretary Chris Grayling said MPs will decide this week about where to allow airport expansion in south east England
The Met Police has thanked residents in Northolt for their patience but has warned the armed stand-off could take time to resolve.