The former Sale, Northampton and Bath hooker has made more than 100 appearances for the Pirates over the past three seasons.
However Ward will now return to the Premiership to compete with Joe Gray, Rob Buchanan and Chris Brooker for the No.2 jersey.
The 26-year-old said: "I'm very excited about joining Harlequins and working with Conor O'Shea, John Kingston and the coaching team and players.
"The team plays an attractive style of rugby that suits me and that combined with the club's current position at the top of the Aviva Premiership, makes this move an exciting opportunity for me."
Director of rugby O'Shea believes Ward will fit in well at the Stoop.
"With the recent retirement of Matt Cairns and the long-term injury to Chris Brooker, we needed a talented player to complement our existing front row," he said.
"Dave fits the profile of the type of player we want at this club and his style of play fits ours.
"He has the drive and ambition to play at the very highest level and we look forward to seeing him work with Joe Gray, Rob Buchanan and Chris Brooker next season."
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.