Self.com says that hyperhidrosis can be broken down into 2-main categories: primary (or primary focal) and secondary. The source notes the primary type is a result of nerves that control the sweat glands becoming overactive.
The secondary type is less common but is just as it sounds – it’s the result of another underlying medical condition such as diabetes, menopause, thyroid problems, and even some cancers, explains the source. It can also be a side effect of some medications. It may be wise to visit your doctor if you’re concerned about excessive sweating, to determine if there’s a cause that can be treated.