The money is being provided to help maintain and repair roads and stop potholes developing - taking local roads investment in the region to more than £150m up to 2021.
The funding will ensure rural roads can benefit from resurfacing work over the next five years thanks to money which is being given to North Yorkshire Council to spend where it is needed most.
Providing extra targeted maintenance allows government to deliver on its long-term economic plan for the north by improving vital road links that help people living in rural areas get around, boosting local businesses.
Transport minister Lord Ahmad of Wimbledon said: “We are determined to build a Northern Powerhouse and investing an extra £25.6m in North Yorkshire’s roads will help cut delays and boost the local economy.
“This funding will allow the council to carry out extra maintenance work and help prevent potholes from forming, keeping roads fit for the future.”
The £24m is being delivered under the Local Growth Fund - a £12bn fund to support a variety of projects including transport schemes, new housing and improving education. North Yorkshire Council successfully bid for the extra money to maintain roads in the area.
This funding is in addition to over £125m of Department for Transport funding that North Yorkshire council will be receiving to help repair roads, fix potholes, maintain bridges and improve streetlights over the next five years up to 2021.
Roads linking surrounding villages to the towns of Catterick, Harrogate, Malton, Northallerton, Scarborough, Selby, Skipton, Thirsk are all set to benefit.