👍 What we like
- Face recognition and search run locally, nothing sent to a cloud
- Immich mobile app with automatic background backup
- PhotoPrism indexes your existing folders without modifying them
- All three are AGPLv3 software, installable with Docker
👎 What to watch
- Immich needs at least 6 GB of RAM and several containers
- PhotoPrism has no native mobile app
- Nextcloud Photos can slow down on very large libraries
- No gallery replaces an external backup of the originals
📑 Contents ▾
- 01 The three galleries at a glance
- 02 Backing up your phone’s photos
- 03 Face recognition and search: everything stays on the server
- 04 What hardware each one needs
- 05 Keep your folder tree or let the tool organize
- 06 Leaving Google Photos: importing Google Takeout
- 07 Nextcloud Photos: when the suite you already run is enough
- 08 Which one for your use case
- 09 Backing up the photo library: the gallery is not a backup
- 10 Where to host your gallery: at home or on a VPS
- 11 FAQ
- Our picks
To replace Google Photos at home, Immich is the default choice: its mobile app backs up your phone’s photos automatically, and both face recognition and content search run on your own server. PhotoPrism is a better fit for a photo library already organized in folders, rich in RAW files and metadata, which it indexes without modifying, with less RAM (3 GB, versus a 6 GB minimum for Immich). Nextcloud Photos only makes sense if you already host Nextcloud: it is the least polished of the three for photos, but it needs no extra infrastructure.
This comparison is based on the official documentation of the three projects and on user feedback. All three are licensed under AGPLv3 and install with Docker.
The three galleries at a glance
| Criterion | Immich | PhotoPrism | Nextcloud Photos |
|---|---|---|---|
| Technology | TypeScript (NestJS), PostgreSQL | Go, MariaDB or SQLite | PHP (Nextcloud app) |
| Philosophy | Google Photos replacement | Catalog and metadata | Module of a cloud suite |
| Mobile app | Native, iOS and Android | No native app, installable web version (PWA) | Nextcloud app |
| Automatic phone backup | Yes, native | Through a third-party sync tool | Yes, Nextcloud app auto-upload |
| Face recognition | Yes, local | Yes, local | Through the Recognize app |
| Content search | Yes, CLIP model (“beach”, “dog”) | TensorFlow labels | Limited (Recognize) |
| Minimum RAM (documentation) | 6 GB, 8 GB recommended | 3 GB | Whatever your Nextcloud needs, plus Recognize |
| Multi-user | Yes | Depending on edition | Yes |
| Installation | Docker Compose, several containers | One main container and its database | Depends on your Nextcloud instance |
| License | AGPLv3 | AGPLv3 | AGPLv3 |
Backing up your phone’s photos
This is the first criterion for leaving Google Photos, and the one that separates the three most clearly.
Immich has the most complete mobile app in the category. It uploads photos in the background, incrementally (only new ones are sent), in original quality, and resumes after an interruption. You also get shared albums and memories (“one year ago”), which makes it the easiest tool to hand to a whole family.
PhotoPrism has no native app: you use its web version, which can be installed on the home screen (PWA), or a third-party sync app to bring photos up from the phone. Automatic background backup is not its strong suit.
Nextcloud Photos relies on the auto-upload feature of the Nextcloud mobile app. It works well, with a less polished interface than Immich’s.
Face recognition and search: everything stays on the server
All three run image analysis locally: no photo leaves your machine, unlike Google Photos, which analyzes everything on its servers.
- Immich groups faces with deep learning models derived from InsightFace, which you then name. Its content search, based on CLIP, finds “sunset on the beach” or “birthday cake” without any tag ever being added. It can still miss fine details.
- PhotoPrism classifies images with TensorFlow (landscapes, animals, food…), recognizes faces and places photos on a world map, one of the most polished on the market.
- Nextcloud Photos gets face recognition and object classification from the Recognize companion app.
No GPU is required: they all run on CPU. Immich can use CUDA and other accelerators to shorten the initial import; without them, indexing a large library takes several hours, but it only happens once. PhotoPrism does not need a GPU.
What hardware each one needs
Immich runs as several containers: the server, PostgreSQL with the VectorChord extension (which succeeded pgvecto.rs for vector search), Valkey (Redis-compatible) and a machine learning service. Its documentation asks for at least 6 GB of RAM, 8 GB recommended; for a large library, also plan on 4 CPU cores. The initial import (thumbnails, face recognition, CLIP embeddings) is the heaviest phase. With that RAM minimum, a 4 GB board (such as the 4 GB Raspberry Pi 4) is not enough, and Immich remains hard to run well on a Raspberry Pi.
PhotoPrism, written in Go, fits in one main container and a MariaDB database (SQLite for small installs). It makes do with 3 GB of RAM and runs on a 4 GB Raspberry Pi 4, with slow indexing. It is the best fit for an older NAS or a small VPS. Searches that combine many filters (labels, EXIF, dates) can, however, slow down on large databases.
Nextcloud Photos depends on the load of your Nextcloud instance. PHP and the Nextcloud stack were not designed first and foremost to serve tens of thousands of thumbnails: a Redis cache and the Memories app help a lot, but a dedicated tool keeps the edge on very large libraries.
In every case, put the database and thumbnails on an SSD, and plan generously for the originals: a family photo library quickly reaches several hundred gigabytes, and video speeds up the growth even more.
Keep your folder tree or let the tool organize
PhotoPrism can run read-only on your existing library: your 2024/vacation/ folders stay untouched, and it simply indexes them, generates thumbnails and reads EXIF and XMP metadata. It handles RAW files well and fits a Lightroom or digiKam workflow. Some advanced features are reserved for members of its paid plans.
Immich is designed to receive photos from the phone and present them in a smooth timeline, even with tens of thousands of photos. It suits people who want the Google Photos experience back more than people who want to manage a catalog file by file.
Leaving Google Photos: importing Google Takeout
Google Takeout delivers ZIP archives containing the photos, with their metadata in separate files. Re-attaching dates and locations is often the trickiest step.
- Immich relies on its command-line tool, to import folders in bulk, and on community tools that read the Takeout export and re-attach dates and metadata before uploading. SHA-1 checksums prevent importing the same file twice. Check file permissions before starting the import.
- PhotoPrism indexes folders: unzip the archives first, place the files in the import or library folder, then let it scan. It extracts EXIF metadata very well; restoring Google-specific metadata accurately takes more work.
- Nextcloud Photos also imports folders, with the same limitation.
Whatever the tool, test the import on a sample and check the dates before importing the whole library.
Nextcloud Photos: when the suite you already run is enough
Nextcloud Photos is not a dedicated photo application but a module of Nextcloud, which also handles files, calendar, contacts and notes. If you already host it, enabling it is free and immediate: no extra server, a single login, a single backup. The basics are fine (timeline, albums, folder view, link sharing); Recognize adds faces and objects, and Memories, a community app, a much faster timeline than the native gallery.
Many users also run Nextcloud for documents and Immich alongside it for photos, on the same machine, each with its own storage. Just avoid having two galleries index the same folder with write access. If you haven’t picked your cloud suite yet, see our Nextcloud vs Seafile vs ownCloud comparison and the guide to hosting Nextcloud on a VPS.
Which one for your use case
- A family with several phones that wants automatic backup, albums shared with the grandparents and sorting by faces: Immich. The mobile app makes the difference for non-technical family members. To install it, follow our Immich Docker tutorial.
- An advanced amateur photographer who shoots RAW, cares about EXIF and XMP metadata and rarely backs up from the phone: PhotoPrism, which better respects industry standards and the existing folder tree.
- A small NAS or a Raspberry Pi, with as little maintenance as possible: PhotoPrism, which has fewer dependencies and uses the fewest resources.
- Someone who already runs Nextcloud and wants everything in one place: Nextcloud Photos with Memories, or Immich alongside if mobile matters.
Immich ships new versions very often: read the release notes before each update and back up the database first. PhotoPrism changes more slowly, which makes it the “set it and forget it” option.
Backing up the photo library: the gallery is not a backup
None of these programs is a backup. Apply the 3-2-1 rule: three copies, on two types of media, one of them off-site. The original files come first, then the gallery’s database, which holds the named faces, albums and metadata added in the interface:
- for Immich, the PostgreSQL database and the upload folder;
- for PhotoPrism, the originals and the MariaDB or SQLite database;
- for Nextcloud, the instance’s data and database.
An encrypted copy to object storage with Restic or Kopia covers the off-site copy: our 3-2-1 backup with Restic tutorial walks through the setup.
Where to host your gallery: at home or on a VPS
At home, on a NAS or a mini PC, is the cheapest option for a large family library of several terabytes: the originals stay with you and storage only costs the price of the drives. A low-power mini PC is enough to run 24/7, with the 8 GB of RAM that Immich’s documentation recommends. Two common picks: the Beelink Mini S12 Pro (Intel N100, up to 16 GB of DDR4, one M.2 slot and a 2.5-inch bay for photos) and the Beelink EQ14 (Intel N150, two M.2 slots up to 8 TB according to Beelink’s spec sheet, dual 2.5 GbE ports). To choose: our guide to the best mini PCs for a homelab, or our guide to which NAS for Immich if you prefer a NAS.
On a VPS, the gallery is reachable from anywhere without exposing your home network, for a library of reasonable size. Pick a host with generous storage: Hetzner for its storage-to-price ratio, OVHcloud and Scaleway for European hosting, or Infomaniak for its Swiss commitment to privacy. If you would rather not manage the server yourself, PlanetHoster offers managed VPS plans, ready in minutes: see PlanetHoster plans.
Either way, expose the gallery behind HTTPS, through a reverse proxy with strong authentication, and follow our guide to install and secure an Ubuntu VPS. For family-only access without opening anything to the Internet, a VPN such as Tailscale is enough: see accessing your NAS remotely with Tailscale.
FAQ
Is Immich stable enough for my family photos?
Yes. The project long advised against using it as the only copy of your memories, but it has been stable since version 2.0, released in October 2025. The rule applies to any software: keep an external backup of your originals, independent of the gallery.
Does Immich work without a GPU?
Yes. Its models run on CPU; a GPU mainly speeds up the initial import and indexing. For a personal library, a recent CPU is enough, even if the first indexing takes a few hours.
Can I switch from Immich to PhotoPrism, or the other way around?
Yes, but manually. Both store files in folders on disk: copy the originals to the other tool, then run an indexing pass. Data created in the interface (named face groups, albums) is not portable: you will have to redo it.
Is PhotoPrism free?
Yes, the community edition is free and licensed under AGPLv3. Paid plans unlock extra features, but the free edition covers the essentials of personal use.
Which one uses the fewest resources?
PhotoPrism, thanks to its compact Go architecture. Immich is heavier, because it runs several containers and a machine learning service, especially during the initial import. Nextcloud Photos depends on the overall load of your instance.
Key facts
Our picks
Affiliate links · same price for youBeelink Mini S12 Pro
- Intel N100, 4 cores / 4 threads, 6 W TDP
- DDR4, 16 GB maximum (1 slot)
- 1 M.2 2280 slot and 1 2.5-inch SATA bay
Amazon · price and availability on the listing
Beelink EQ14
- Intel N150, 4 cores / 4 threads
- 2 M.2 PCIe 3.0 slots, up to 8 TB
- DDR4 SO-DIMM, 16 GB maximum; dual 2.5 GbE ports
Amazon · price and availability on the listing
See all our recommended gear in the shop.