Older dogs, like any animal or human, become weaker and less agile as they age. Aging causes their joints to become less flexible and their muscle strength deteriorates, control of the limbs also becomes less precise. Weak or shaking legs can simply be a sign of old age, in which case there is no treatment, you just simply have to be more aware of your dog. If your dog does has any falls, make sure to give him or her a quick check over to see if there has been any more serious damage. It is important to keep your dog exercising to avoid the legs seizing up, but if he or she looks like they are beginning to suffer on a walk do not push them to go too far.
The other common cause of weak legs in dogs is arthritis. Again often found in older dogs, arthritis can be relieved with a few remedies. NSAIDs are the most powerful treatment for arthritis but if these aren’t suitable for your dog there are other things you can do to improve his lifestyle. Managing your dog’s weight can help take away some of the stress off his joints and while it is important to keep him doing activities he enjoys, do not do anything too strenuous that may leave him sore.
Weak and shaking back legs can be a sign of something more serious so if you are concerned about your dog, particularly if he is young, it is important to contact a vet.