Sometimes, you don't have to think too hard about why you may have picked up a few extra pounds. Maybe you've been attending an extra wing night or two a month. Maybe you've recently been through the cookie-and-pie-gauntlet known as "the holidays." Or your workload at your job or at home has reached that barely surviving level, a state which tends to push off any semblance of what one might call "fitness."

You should know that these small upticks in weight are common, rarely anything to worry about, and might actually have nothing to do with your diet at all (like, even hydration can affect how much you weigh).

But then there are surges in weight gain—the kind that make you step back from the scale and say "huh?" Suddenly gaining weight can be especially frustrating and confusing when you can't blame chicken wings, holiday cookies, or work stress.

More From Men's Health

preview for Men's Health US Section - All Sections & Videos

How much weight gain in a short time period is concerning?

If you've added five pounds or more in a matter of weeks—or even days—it's time to take notice. "For a guy, five pounds is kind of—ding-ding—something's going on here," says Lawrence Cheskin, M.D., director of the Johns Hopkins Weight Management Center.

Cheskin says that while weight fluctuations of five pounds or more are fairly typical among women, but not so much among men. Especially if your weight has been stable for months or years.

What could be the cause of this sudden weight gain?

Here are seven common sources—plus what to do.

You're Eating Too Much Salt

Sodium consumption causes your body to retain water, Cheskin says. Water has weight and volume. So if you eat a lot of salty food several days in a row, you may suddenly gain weight, he says.

Restaurant food—and especially fast food—tends to be loaded with sodium. So if you've recently filled your days with takeout and restaurant meals, that could account for your abrupt influx of pounds.

Keep in mind, however, that plenty of foods you eat at home are sodium-heavy as well. Bread, sandwiches, cold cuts and cured meats are some of the top sources of sodium in the American diet.

You're Not Eating Enough Potassium

Yes, limiting your intake of sodium is important, but it's not the only important nutrient when it comes to water weight.

Potassium is like a sodium counter-weight. While sodium helps maintain the fluid around your cells, potassium helps your muscles work and regulates blood pressure. The two go hand-in-hand, and if one is out of whack, overall hydration suffers.

While there's no recommended daily amount for potassium intake, experts seem to indicate that 3,400 milligrams is a good daily amount to target in men ages 19 and older.

You're Taking a New Medication

"There are many medications that may cause weight gain," says W. Scott Butsch, M.D., director of obesity medicine in the Bariatric and Metabolic Institute at the Cleveland Clinic.

In fact, medication may cause up to 15 percent of obesity cases, he says.

Two common culprits: Depression medications (including SSRIs) and heart disease drugs (beta blockers), says. Butsch. But prescription sleep aids, painkillers, and even some allergy-blocking antihistamines can cause "a bump in weight," he says.

Add steroids and testosterone-boosting drugs or supplements to that list, too, Cheskin says. These drugs act on your hormones, which could certainly spur a sudden weight increase. That includes OTC or internet-order supplements, he adds. It doesn't have to come from your PCP's prescription pad in order to be a pounds-adding culprit.

If the weight gain is concerning, go back to the doctor who prescribed the medication to you to assess continued use or if any adjustments need to be made. And if it's OTC or online supplement that you're taking and you haven't told your primary care doc that you've been taking it, well, it's probably time that you do.

You're Eating More Than You Realize

This one may seem obvious. But people don't realize how quickly it can happen. If you've been boosting your calorie count consistently for a month or two, you could even see a five or ten-pound increase in weight, Cheskin says.

It's important to recognize that these changes can be subtle. Maybe you've started doing weekly happy hours. Or maybe you bought new dishware, and so your portion sizes have increased without you realizing it. "If you're eating just 500 calories more a week, over time that can add up," he says.

Consider keeping a diet journal, using a calorie-counting app, or just nixing out the dietary habit that you feeling like might be the offender to see if you begin to lose weight.

You Switched to a Higher Carbohydrate Diet

If you move from an extremely low-carb plan, like keto, to a diet that contains more grains and starches, you'll immediately notice a difference on the scale. That's because carbs are stored in your muscles and liver as glycogen. Each gram of glycogen contains about three grams of water, meaning that a plate of pasta will store extra water in your tissues.

Carbohydrates are important, both in terms of exercise (glycogen is a powerful source of workout fuel) and general health (fiber is a carbohydrate!).

You Recently Lost Weight

It would be really, really nice if lost weight stayed lost. But often just the opposite is true.

"Our body weight and body fat are tightly regulated, and [our system] will act to maintain balance," Butsch says. Put another way, any pounds you manage to drop are likely to return—even if you keep up your weight-loss routines, he adds.

So if you recently dropped some weight, it's very likely that you'll put some of it back on regardless of how much you're eating or exercising—and that's completely normal.

You Have an Endocrine Disorder

Roughly one in five adults has an underactive thyroid—also known as hypothyroidism—according to the National Institutes of Health. While this condition is much more common in women, Cheskin says plenty of men experience hypothyroidism, which can cause sudden and significant weight gain.

While less typical, some other hormone disorders—namely, Cushing's disease—can also cause weight gain, Butsch says. If you have one of these endocrine disorders, weight gain probably won't be your only symptom, he adds. Fatigue, weakness, headaches, problems thinking, and depression or irritability are all signs of these hormone disorders, according to the Mayo Clinic.