Blog Categories


MyFitnessPal Keto Tracking: An App to Help You Reach Your Health Goals


If you’re new to a low-carb, high-fat keto diet, you’ve probably already downloaded and tried a couple of keto-friendly apps to help you track carbs and other macronutrients. But does MyFitnessPal keto tracking work?

After using a keto calculator and reading a few guides on what to track on a ketogenic diet, you may have finally ended up going for the MyFitnessPal app, a tracker where you can log the nutritional values of all the food you consume.

From there, you probably created an account and set up your macro goals to reflect your new keto targets. (If not, we recommend you to change goals on the app ASAP.)

The tracker works like an exercise and food diary, helps you learn about your daily calorie intake, and is backed up by a vast food database that covers over 11 million items.

However, when you start using the app and check your total carbs at the end of the day, you may have a bit of a shock when you look at the numbers displayed.

You may wonder if you’ve made a mistake and logged your foods the wrong way, or you might start questioning if your keto meal plan needs to be adjusted.

The good news is that the app isn’t set up to consider net carbs, but only gives your total carb count. This means that the number you’re seeing doesn’t take into account your fiber intake, so it’s technically a false reading.

It doesn’t matter if you have a free version or you’re a premium MyFitnessPal user — displaying daily net carbs isn’t a feature the app offers, according to customer support.

If you’re not sure about MyFitnessPal keto compliance and you’re considering deleting the app or continuing to calculate things in your head, there’s one handy workaround to save you time and complicated math.

Here’s a quick five-step process that will take you less than a few minutes to learn and will allow you to set up your MyFitnessPal to reflect your actual daily net carbs.

MyFitnessPal Keto-Friendly Workaround

Before starting this app-hacking journey, there’s one caveat you need to know first: this tweak only works on the desktop version of MyFitnessPal.

This means you can log your food throughout the day on either your mobile app or your computer, but you’ll only be able to see your net carbs on the desktop version.

Now, to do that, you’ll need to run a script on your MyFitnessPal account.

Don’t worry if you have zero experience with scripts or aren’t the most tech-savvy person. Below you’ll find a detailed step-by-step guide.

Step 1: Install a Program to Run the Script

Your first step is to download an extension that can run this script on your MyFitnessPal settings.

For Chrome, Safari, or Firefox users, download Tampermonkey to do this.

Once you download it, add it to your web browser as an extension:

MyFitnessPal keto net carbs

As a side note, if you’re still using Internet Explorer, this fix won’t work since the plugin is outdated.

Now that your extension is added, it’s time to log in to MyFitnessPal.

Step 2: Double-Check Your Settings in MyFitnessPal

Once you’ve signed in, click the ‘Settings’ link at the top.

MyFitnessPal keto settings

You should immediately see a list of the nutrients you’re tracking.

This setting is another default that needs to be updated, especially for keto and for this specific workaround.

Your nutrient goals should mirror the ones you see in the image above.

So you’ll need to track:

  • Carbohydrates
  • Fat
  • Fiber
  • Protein
  • Potassium

Use the drop-down arrows to change these nutrients and then scroll down until you see ‘Save Changes.’ Click that green button to update your account.

Step 3: Download the Script

Next, download the script you’re going to run on MFP, using the Tampermonkey program you installed in Step 1.

You can find that download link on this page:

MyFitnessPal keto hack

Once it’s downloaded, don’t be tempted to click on it as it won’t really do anything.

If you happen to have Dreamweaver or a similar program installed, it’s just going to open up the script code.

For everyone else, you don’t need to do anything but drag and drop from here.

Step 4: Drag the Script Into Tampermonkey

Next, you need to open Tampermonkey so you can drop the script file right in. Click the extension on your web browser, and you’ll see this:


Click the plus (+) sign to add the script file you downloaded, and you’ll see this next:

MyFitnessPal net carbs MyFitnessPal Tampermonkey

Where it says “// Your code here…,”drag the file you downloaded from GitHub right onto this line of code. If it downloaded as a .zip file, you’ll have to unzip it and drag the file that ends in .user.js.

If you decided to play in Dreamweaver, copy and paste the code into this space.

From here, you need to assign the URL that’s going to use this script.

MyFitnessPal keto new userscript

Copy and paste this URL into that box:

When you’re done, it should look like this:

MyFitnessPal keto app code

Click the floppy disk icon to save your work, and you are finished.

How to adjust the MyFitnessPal keto app

Before you start using your newly converted MyFitnessPal keto-friendly app, you need to find out if it worked.

Step 5: Head Back to MyFitnessPal

Switch over to your MyFitnessPal tab to see if everything installed correctly.

You’ll know if that’s the case when you see the Net Carbs column.

Before the update, the nutrient headers of your log looked like this:

MyFitnessPal keto food diary

After the update, they should look like this:

MyFitnessPal net carbs

If you do not see this Net Carbs column, check out the troubleshooting section next.

What Happens If Net Carbs Still Aren’t Showing?

There are a few areas you can check to see what could be causing the issue.

First, head over to Tampermonkey to double-check that you:

  • Copied the entire script over.
  • Put the script in the right place.
  • Added the correct URL.

This step also cross-checks that you saved your work.

MyFitnessPal keto diary settings

If it all looks good, your next step is to make sure you have the script and Tampermonkey enabled.

To do that, click this extension button again:

MyFitnessPal browser extension

Once you do, you’ll either see a sign that a new script is running:

MyFitnessPal new userscript for browser

Or one that no scripts are running:

MyFitnessPal app adjustment

If the new script is running, refresh the page a few times, and your update should kick in.

For those who aren’t seeing any running scripts, head back over to “Installed user scripts” in Tampermonkey to double-check your work again (see the first step of this section).

And if that doesn’t do the trick, try starting over by creating a new script altogether:

New script for MyFitnessPal keto app

MyFitnessPal Keto Tracking Is Here to Help

Starting keto or a low-carb diet doesn’t have to feel like a daunting task. This is why using an app to track your goals and progress — from weight loss to overall optimal health –can be extremely helpful not only during the first stages but also during your whole keto journey.

Follow the steps in this guide to unlock your MyFitnessPal keto potential and have an easier way to track net carbs.

Keep in mind that tracking your macros is crucial if you want to be successful in your keto diet. With this handy tool to calculate your net carbs, you’ll now be one step closer to getting and staying in nutritional ketosis.

Here are a few delicious keto recipes that come packed with health benefits and will help you stay on track with your net carb intake goals:


Join the Internet's largest keto newsletter

We'll send you articles, product guides, and exclusive offers customized to your goals.