After joining the Cherries in 2014 from Newcastle, the 27-year-old has been ever present for Eddie Howe's side.
Four goals in 37 games for the Cherries last season convinced Howe of Gosling's importance to the team from the south coast.
"I am delighted Dan has signed a new contract as he is a very important part of our squad and what we are trying to achieve here," he told the club's official website.
"He has great talent, huge energy and offers real quality to our midfield. Despite only being 27, Dan also has plenty of Premier League experience and that is crucial for a team that is still relatively new to the division."
Gosling added: "I've really enjoyed my three years here. In that time we have gained promotion and spent two years in the Premier League, so it couldn't have gone any better."