Google Photos was great until it wasn’t — the storage fees, the privacy concerns, and that nagging feeling that your memories aren’t really yours anymore. The good news: you don’t need Google to have a great photo library.

These self-hosted alternatives give you automatic backup, AI search, and a clean web app — on hardware you own, with no monthly fee. Here are the five worth your time, compared honestly.

1. Immich — the closest to Google Photos

Immich is the best Google Photos replacement right now. It has automatic backup from your phone, AI-powered search, facial recognition, and a genuinely polished web and mobile app.

If you only try one tool from this list, make it Immich. It’s actively developed (new releases weekly), runs easily in Docker, and feels like the product Google Photos should have been. The phone app backs up your camera roll automatically, and the web app gives you that familiar timeline view.

2. PhotoPrism — powerful AI photo management

PhotoPrism focuses on organizing and browsing an existing library. It uses AI to auto-tag objects, people, and locations, giving you powerful search over a huge archive — “find photos of my dog at the beach” actually works.

It’s the better choice if you already have terabytes of photos on a drive and want to make sense of them, rather than starting fresh from your phone. The tradeoff: its mobile backup is more manual than Immich’s.

3. Nextcloud Photos — if you already use Nextcloud

If you already run Nextcloud, the Photos app gives you basic photo backup and albums with zero extra setup. It’s not as flashy as Immich, but it integrates with the rest of your self-hosted cloud — files, calendar, and contacts in one place.

4. Piwigo — for sharing albums

Piwigo is built for organizing and sharing photo albums with granular permissions — ideal for family albums or a photography portfolio. The interface is a bit dated, but it’s stable, mature, and handles large collections well.

5. Photoview — simple and fast

Photoview is a lightweight gallery that scans a folder and generates a clean, fast web gallery. Minimal features, minimal fuss — perfect if you just want to browse photos on your server without any AI or fancy indexing.

Quick comparison

Tool Auto backup AI search Facial recognition Best for
Immich Yes Yes Yes Google Photos replacement
PhotoPrism Yes Yes Yes Large archives
Nextcloud Photos Yes No No Existing Nextcloud users
Piwigo No No No Shared albums
Photoview No No No Simple gallery

Quick start: run Immich with Docker

If you want to get going right now, here’s the fastest path to a working Immich instance:

mkdir immich && cd immich
wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
docker compose up -d

Open http://your-server-ip:2283 and follow the setup wizard. That’s it — you have a self-hosted Google Photos replacement running.

How to migrate from Google Photos

The practical path is Google Takeout:

  1. Go to takeout.google.com and select Google Photos.
  2. Export your library — Google packages it into one or more zip files.
  3. Download and import the photos into your chosen tool.

Immich and PhotoPrism both handle large imports well. Expect the export to take a while — Google is notoriously slow about it, sometimes taking days for large libraries. Pro tip: break the export into smaller year-by-year batches if you have a huge archive.

Common mistakes to avoid

  • Skipping backups. Your photo library is irreplaceable. Keep at least one off-site or second-drive copy.
  • Using the SD card (if on a Raspberry Pi). Store photos on an SSD, not the card.
  • Ignoring the 3-2-1 rule. Three copies, two different drives, one off-site.

Which should you choose?

  • Want the Google Photos experience? Immich.
  • Have a huge existing archive? PhotoPrism.
  • Already run Nextcloud? Nextcloud Photos.
  • Sharing family albums? Piwigo.
  • Just want a simple gallery? Photoview.

For most people, the answer is Immich — it’s the closest to Google Photos, actively developed, and runs easily in Docker. Whichever you pick, put it on a homelab with regular backups.

Backing up your photo library

Your photos are irreplaceable, so treat backups as non-negotiable. A simple, effective strategy:

  • Nightly backup to a second drive — an automated job that copies your photo folder to a separate disk.
  • An off-site copy — either a cheap cloud backup (Backblaze B2 is popular) or a second physical location.
  • Test your restore — a backup you’ve never restored is just a hope. Once a year, actually restore a folder and confirm it works.

The 3-2-1 rule is the gold standard: three copies, on two different drives, with one off-site. It sounds paranoid until the day you need it.

FAQ

Do these tools really replace Google Photos?

For most people, yes — Immich especially covers automatic backup, AI search, and sharing. What you give up is Google’s massive infrastructure, but on a home server with an SSD, performance is excellent for personal use.

Are they hard to set up?

Not really. Immich and PhotoPrism both install with a single Docker command. If you can follow a homelab setup guide, you can get one running in an afternoon.

The bottom line

You don’t need Google for your photos. Immich and the tools above give you automatic backup, search, and a clean web app — on your own hardware, with no monthly fee and no one scanning your memories.