The 72-year-old, who led the Wallabies to their 1991 World Cup triumph in England and later coached both Leicester and Bristol, is reported to have complained of chest pains at home yesterday before being taken to a Sydney hospital.
It was in hospital that he suffered the heart attack, and emergency treatment saw him survive the scare.
Dwyer told Fairfax Media: "I'm doing well. I feel fine.
"I had a cardiac arrest whilst I was in the emergency ward at Bowral Hospital.
"I was on a monitor and had the doctor with me and (then) I had the arrest.
"They gave me the electrical charge straight away and I came straight back.
"Talk about being at the right place at the right time. If it had have happened at home, I would be dead."
There was swift reaction from the rugby world to Dwyer's fright.
Former Australia centre Tim Horan, who played in Australia's World Cup final win over England at Twickenham 21 years ago, wrote on Twitter: "Wishing Bob Dwyer a speedy recovery from a heart attack. Not many can combine being a great coach and a great person."
A more recent Wallaby, Wendell Sailor, wrote: "Just like to wish Bob Dwyer a speedy recovery after suffering a heart attack one of the real gentleman. #getwellbob"
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.