St Kilda have completed a trade with Sydney for midfielder Dan Hannebery, with the clubs swapping picks as well as the 27-year-old.

The Saints have landed Hannebery and pick 28 in the upcoming draft, while sending pick 39 and next year's second round pick to the Swans.

Hannebery joins St Kilda on a five-year deal.

“I loved my time at the Swans and will be forever grateful for the opportunities and experiences I had there,” Hannebery told saints.com.au.

“I moved to Sydney when I was 17 and now, 10 years later, it’s the perfect time for me to come back to my family in Melbourne and bring everything I’ve learned to what is a really exciting and promising playing group at the Saints.”

St Kilda's General Manager of Football Simon Lethlean was thrilled with the club's ability to land the premiership Swan.

“Dan’s a highly-accomplished midfielder who will be a significant addition to our group,” Lethlean told the club's website.

“He will help the likes of Jack Steven, Seb Ross and Jack Steele enormously, but we’re also excited about what he can teach Jade Gresham and Hunter Clark.

“He is a respected leader and someone with a lot of finals experience, which will be invaluable for our young group on and off the field.

“I know he is eager to get started, and we’re equally eager to see the impact he can have in 2019 and beyond.”