Madonna headlined last year's Big Weekend in Maidstone, Kent
Radio 1's Big Weekend will take place in Swindon's Lydiard Park this year on the weekend of 9 and 10 May.
The news was announced by Chris Moyles, who broadcast his breakfast show live from a pub in the town centre.
N-Dubz and Snow Patrol are the first artists to be confirmed for the UK's biggest free ticketed music festival.
Chris Moyles said: "We always try to bring it to places that don't normally get big events like this. The people of Swindon are going to love it."
As well as Radio 1 DJs, there will be live music across four stages and the two-day event will be broadcast on Radio 1.
Many of the live performances will be available to watch on demand.
There'll also be highlights on BBC Three and extended performances on the red button during the weekend.
Swindon's Lydiard Park can hold up to 20,000 people a day and most of the tickets will go to residents of Swindon and surrounding areas.
The full line up and ticket details will be announced soon.
Jason Carter, Radio 1's editor of live music and events, said: "Radio 1 is delighted to be heading to Swindon this year.
"It's our ninth Big Weekend and we'll be bringing some of the biggest international and UK artists to Lydiard Park."
Last year's event took place in Maidstone, Kent, and was headlined by Madonna.
Phil Young, a councillor at Swindon borough council, added: "This is a fantastic announcement for Swindon and we are working in partnership with Radio 1 to make sure that this is the best Big Weekend ever staged.
"As soon as Radio 1 approached the Council we were determined to make this happen in Swindon."