The 28-year-old joined the Cherries from Sheffield United in 2018 and has since gone on to make 151 appearances in all competitions, scoring 22 goals. Among his standout moments were a double against Brighton in a 2-0 win during his debut season and the decisive strike in a 1-0 victory over Everton earlier this year.
Brooks, who has started all three of Bournemouth's Premier League matches this season, recently returned from international duty with Wales, where he has been a regular part of Rob Page's squad.
The midfielder spoke with pride after signing his new deal. "I'm delighted to sign a new contract. The past seven years have had ups and downs, of course nothing to do with the club, but I've really enjoyed my time here and I'm looking forward to the years ahead," said Brooks.
"Making my Premier League debut was a dream come true and I want to keep pushing forward to create more memories with Bournemouth."
Tiago Pinto, Bournemouth's President of Football Operations, welcomed the extension, highlighting Brooks' importance to the team. "I'm really pleased that David has committed his future to the club and that he wants to continue playing his football here.
"He is a player we value highly and his renewal, along with those of Marcus Tavernier and James Hill, shows the belief the squad have in our project," said Pinto.
Brooks' new deal represents another strong statement of intent by Bournemouth, who are aiming to build on their solid start to the campaign under Andoni Iraola.
The Cherries face Newcastle United this weekend as they look to extend their unbeaten run.