James, who has won 34 caps and was part of Wales' World Cup squad in New Zealand last autumn, becomes Bath's third recruit for next season after Wasps hooker Rob Webber and Scarlets lock Dominic Day.
James made his Wales debut in 2003 and featured during this season's title and Grand Slam-winning Six Nations campaign.
The 29-year-old is the latest Wales Test player to ply his trade in the Premiership, following Dwayne Peel, Andy Powell and Craig Mitchell.
Wales, meanwhile, also have a number of star names either playing club rugby in France, or are about to head there this summer. That list includes Mike Phillips, James Hook, Gethin Jenkins and Luke Charteris.
James, who can play loosehead or tighthead prop, has made a record 177 Ospreys appearances, which included captaining them to victory over Australia in 2006.
"I have been with the Ospreys since 2003, and feel that I need a new challenge to keep developing my career," he said.
"Bath is a very ambitious club and I am excited by the prospect of being a part of that. The Aviva Premiership is one of the toughest leagues, and I can't wait to get started."
Bath chief executive Nick Blofeld added: "Paul is a very experienced prop with a lot to offer us, both in the scrum and around the field.
"He has a great attitude and is a tough customer who will add considerably to our team. We are very much looking forward to him joining us."
Bath earlier this week confirmed a new-look coaching team for next term that will be headed up by South African Gary Gold and also includes former London Irish coaches Toby Booth and Neal Hatley.
Gilbert has released a new line of rugby cleats. The Gilbert Virtuo 8S is part of the exciting new product. Check it out.
The entire All Blacks apparel line has been updated for 2013/14. Check out the New Zealand All Blacks polo.
The Nike Tiempo is a solid rugby cleat and one of few styles still made from full-grain natural leather.
The Gilbert Blitz 8S rugby cleat is a great cleat at a great price of $69.99. Get a new pair of cleats today.
A cool looking all black rugby cleat with the high performance adidas is known for. Get in the Gear!
Wear the crest of the British and Irish Lions on your t-shirt. A great look for the summer.
$29.99
The All Blacks Performance t-shirt is black with hints of blue from the training jersey. Very Cool.
The New Zealand All Blacks training jersey for 2013/14. Get in the Gear!
The USA Rugby Pro Alternate rugby jersey is perfect for any fan of the Eagles. Get yours to wear during the summer Test matches.
The NEW All Blacks 2013/14 jersey has arrived at World Rugby Shop. Dare to wear the colors of the All Blacks.