Install Minecraft mods by hand with the Fabric Installer or with the CurseForge app, step by step. Plus safety tips, good mods to start with and fixes for crashes.
To install Minecraft mods, you need a mod loader such as Fabric, then you put mod files in your mods folder. You can do this by hand with the Fabric Installer, or let the CurseForge app set up everything for you.
This guide covers both ways step by step, plus the mods most players start with and what to do when the game crashes. Mods only work on Minecraft: Java Edition. Bedrock Edition (consoles, phones and the Windows store version) uses add-ons from the Marketplace instead.
Mods are programs that run on your computer, so only download them from trusted places. The two big mod sites are CurseForge and Modrinth, and both review the files that creators upload.
Every mod is made for one mod loader and one Minecraft version. Check both on the mod page before you download anything:
Note: A mod made for an older Minecraft version usually won't load on a newer one. When a new game drop comes out, wait until your mods are updated before you switch.
This is the official route with the normal Minecraft Launcher.
Go to the Fabric website (fabricmc.net), open "Download" and click "Download for Windows" to get the .exe installer. On Mac and Linux, pick the installer for your system on the same page.
Close Minecraft and the launcher, then open the installer. On the "Client" tab, pick your Minecraft version, keep the newest loader version, make sure "Create profile" is ticked and click "Install".

Download Fabric API and your mods from CurseForge or Modrinth. Pick the file for Fabric and for your exact Minecraft version.
Open your mods folder and move the .jar files into it. On Windows, type %appdata%\.minecraft\mods into the File Explorer address bar. On Mac it is ~/Library/Application Support/minecraft/mods.
If the mods folder isn't there yet, start the Fabric profile once and close it, or create a folder named "mods" yourself.
Open the Minecraft Launcher, choose the "fabric-loader" profile from the version list next to the "Play" button and click "Play".

The title screen loads a bit slower than usual. If it opens without an error, your mods are running.
The CurseForge app installs the loader, downloads mods with their requirements and keeps each modded setup in its own profile. It is the easier route if you play many modpacks.
Install the CurseForge app from curseforge.com, open it and choose Minecraft. Go to "My Modpacks" and click "Create".

Name your profile, pick the Minecraft version, choose "Fabric" as the modloader and click "Create". The newest loader version is picked for you.

Open your new profile from "My Modpacks" and click "Add More Content". Search for a mod and click "Install".

CurseForge only lists mods that fit your profile's version and loader, and it installs required mods such as Fabric API by itself.
Go back to "My Modpacks" and click "Play" on your profile. The app starts the Minecraft Launcher with everything set up.

To install a full modpack instead, open "Browse", set the type to "Modpacks", pick one and click "Install". It appears under "My Modpacks" when it is done.
These Fabric mods are popular for a reason and work well together:
Most crashes have one of a few causes:
When the game crashes, the launcher shows a crash report. The newest one is also saved in the "crash-reports" folder inside .minecraft, and its first lines usually name the mod that failed.
Mods don't change the main goals of the game, so everything in How To Beat The Ender Dragon and Best Enchantments For Every Weapon, Tool And Armor Piece still applies in a modded world.