TechBuzzPro

How to Install LAME for Audacity to Export MP3s

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To export MP3s from Audacity you need the LAME MP3 encoder, a small free library that Audacity uses to turn audio into MP3 files. The quickest path: download the official LAME package from the Audacity website, run the installer, and point Audacity to the lame_enc.dll file the first time you choose File > Export > Export as MP3. On Windows, Audacity often finds the encoder automatically if it is installed in the default location. On macOS and Linux, the encoder is usually bundled or installed as a system library, so there is nothing extra to download. This guide walks through the Windows method step by step, then covers the Mac and Linux cases and what to do when the export still will not work. Menu labels can differ slightly by Audacity version and by operating system.

What You'll Need

  • A working installation of Audacity (the current version from the official Audacity website).
  • The official LAME MP3 encoder package for Windows, downloaded from the Audacity website's LAME download page. Do not use third-party download sites.
  • Administrator rights on the PC if you plan to install LAME system-wide (optional; a portable copy also works).
  • An audio project open in Audacity that you want to export.

Step-by-Step

  1. Open Audacity and load your project. Make sure the audio plays correctly and the timeline is trimmed the way you want before exporting.
  2. Try exporting first. Go to File > Export > Export as MP3. If Audacity already has an MP3 encoder available, the export dialog opens and you can skip the rest of these steps. If it does not, Audacity shows a message saying it cannot find the LAME encoder and offers to help you locate or download it.
  3. Download the official LAME package. In that message, choose the option to download LAME, or open the Audacity website in your browser and go to the LAME download page. Save the Windows installer (a .exe file) to your Downloads folder. Use only the link from the Audacity site.
  4. Run the LAME installer. Double-click the downloaded file. Accept the license, keep the default installation folder (usually inside C:\Program Files (x86)\Lame or a similar path), and finish the wizard. If Windows asks for permission, allow it.
  5. Return to Audacity and export again. Go back to File > Export > Export as MP3. Audacity should now detect the installed encoder automatically. If it still asks for the location, continue to the next step.
  6. Point Audacity to the encoder file. When Audacity asks you to locate lame_enc.dll, click Browse (or Locate) and navigate to the folder where LAME was installed. Select lame_enc.dll and confirm. Audacity remembers this location for future exports.
  7. Choose your MP3 settings. In the export dialog, pick a bitrate (192 kbps is a good general choice; 320 kbps for music you want to keep at high quality; 128 kbps or lower for spoken word). Set the channel mode and quality as needed, then click Save.
  8. Name the file and confirm. Choose a destination folder, type a file name, and save. Audacity writes the MP3 and may show a summary dialog; close it when the export finishes.
  9. Verify the file. Play the exported MP3 in your media player to confirm it opens and sounds correct.

Common Mistakes

  • Downloading LAME from an unofficial site. Only the Audacity website's LAME page is the safe source. Random "LAME download" sites often bundle adware.
  • Selecting the wrong file. Audacity needs lame_enc.dll, not the installer .exe and not a .lib or .a file. If you point it at the installer, the export fails.
  • Installing LAME after Audacity is already open. Audacity checks for the encoder when you start an export, so if you installed LAME while Audacity was running, restart Audacity before trying again.
  • Assuming Mac and Linux need the same download. On macOS, the official Audacity build includes MP3 export support. On Linux, install the lame package from your distribution's software repository; Audacity uses it automatically. Do not download a Windows .exe for these systems.
  • Exporting before trimming silence. LAME works fine, but a long silent tail makes the MP3 larger and the file less useful. Trim first.

Tips

  • Keep a copy of the LAME installer in a tools folder so you can reinstall quickly after a system reset.
  • If you use the portable version of Audacity, install LAME into a folder next to the Audacity executable; Audacity's portable build looks there first.
  • For podcasts and voice recordings, mono at 96 kbps or 128 kbps is usually enough and keeps files small.
  • Use File > Export > Export as MP3 rather than Export Audio if your version offers both; the dedicated MP3 option takes you straight to the encoder settings.
  • After the first successful export, Audacity stores the encoder path, so you will not be asked again unless you move or uninstall LAME.

Troubleshooting

If the export still fails, work through these checks in order.

  1. Restart Audacity. Close it completely and reopen it, then try the export again. This fixes most cases where LAME was installed while Audacity was running.
  2. Confirm the file exists. Open File Explorer, navigate to the LAME install folder, and check that lame_enc.dll is there. If it is missing, reinstall LAME.
  3. Re-point Audacity manually. Trigger an MP3 export and use the browse dialog to select lame_enc.dll again. Make sure you are in the correct folder, not the Downloads folder where the installer was saved.
  4. Check permissions. If Audacity cannot read the file, try installing LAME to a folder your user account can access, such as a folder in your Documents, and point Audacity there.
  5. Reinstall Audacity. A corrupted Audacity installation can break export. Download the current installer from the official site, install it over the existing copy, and try again. Your projects are not deleted by reinstalling.
  6. Try a different export format. Export as WAV to confirm the audio itself is fine. If WAV works and MP3 does not, the problem is the encoder, not the project.

If none of that works, check the Audacity website's help pages for the current LAME instructions for your operating system; the exact wording of dialogs changes between versions.

Frequently Asked Questions

Do I need LAME on macOS?

No. The official Audacity build for macOS includes MP3 export support, so you can export MP3s without installing anything extra.

Do I need LAME on Linux?

Audacity uses the system LAME library. Install the lame package from your distribution's software center or package manager, and Audacity will find it.

Is LAME free?

Yes. LAME is free software, and the copy linked from the Audacity website is the official build. Avoid third-party download sites.

Why does Audacity keep asking for the encoder every time?

Audacity normally remembers the path. If it asks repeatedly, the encoder file may have been moved or deleted, or Audacity may lack permission to read it. Reinstall LAME to a stable folder and point Audacity there once more.

Can I export MP3 without installing LAME at all?

On Windows, no: Audacity needs an MP3 encoder to write MP3 files. You can export to WAV or OGG instead, or convert the WAV to MP3 with another tool, but installing LAME is the direct route.

Does installing LAME affect other programs?

No. LAME is a standalone library; installing it only adds files to its own folder and does not change other software.