An Auckland man is sure to be in a bit of pain after accidentally firing a nail gun into his own hand.

The accident happened early yesterday morning.

The Westpac Rescue Helicopter was dispatched to a property on Waiheke Island just before 8am.

A spokesperson said the man was transported in a stable condition to Middlemore Hospital.