Reading time: ~14 minutes Audience: Homelab and self-hosting enthusiasts


Overview

Nextcloud and Immich are the two leading self-hosted photo management platforms. Both offer mobile auto-upload, web galleries, and privacy-first storage. However, they approach the problem differently. Nextcloud is a general-purpose file sync platform with a photo app; Immich is a purpose-built photo manager with AI features. This guide compares them across 12 criteria to help you choose the right tool for your homelab.


Why This Comparison Matters

The Self-Hosted Photo Problem

Google Photos and iCloud are convenient but expensive and privacy-invasive. Self-hosting solves this, but choosing the wrong platform leads to frustration: slow uploads, missing AI search, or poor mobile apps. This comparison prevents that mistake by matching each tool to the right user profile.


Installation

Nextcloud: General-Purpose Deployment

Nextcloud deploys as a Docker stack with a database, Redis, and web server. It is more complex because it is a full collaboration platform.

# Excerpt from Nextcloud Compose
services:
  app:
    image: nextcloud:apache
    ports:
      - "8080:80"
  db:
    image: postgres:15-alpine
  redis:
    image: redis:alpine

Immich: Dedicated Photo Stack

Immich is a multi-service app with a dedicated server, microservices, machine learning, and PostgreSQL with pgvecto.rs.

# Excerpt from Immich Compose
services:
  immich-server:
    image: ghcr.io/immich-app/immich-server:release
  immich-machine-learning:
    image: ghcr.io/immich-app/immich-machine-learning:release
  database:
    image: tensorchord/pgvecto-rs:pg14-v0.2.0
  redis:
    image: redis:7-alpine

Verdict: Immich is more specialized but not simpler. Both require Docker Compose knowledge.


Basic Setup and Configuration

Nextcloud

  1. Install the Memories app (superior to the built-in Photos app)
  2. Enable auto-upload in the mobile app
  3. Configure external storage for large libraries
  4. Set up a reverse proxy for HTTPS

Immich

  1. Deploy the Compose stack
  2. Create an admin user
  3. Install the mobile app and enable background upload
  4. Configure storage templates (optional but recommended)

Verdict: Immich’s setup is more guided. Nextcloud requires app selection (Memories vs Photos) to get a comparable experience.


Advanced Features

AI and Search

Feature Nextcloud Immich
Face recognition Yes (via Memories + Recognize) Yes (native, faster)
Object/scene detection Limited Yes (CLIP-based)
Natural language search No Yes (“photos of my dog at the beach”)
Duplicate detection Yes Yes
Smart albums Yes Yes

Mobile Apps

Feature Nextcloud Immich
Auto-upload Yes Yes
Background upload Yes Yes
RAW support Yes Yes
Offline viewing Yes Yes
Map view Yes Yes
Search Basic Advanced (AI-powered)

Backup and Storage

Feature Nextcloud Immich
Storage templates No Yes (date-based folders)
External libraries Yes Yes
Object storage (S3) Yes Yes
Client-side encryption Yes No
End-to-end encryption Yes No

Integrating with Your Homelab

Nextcloud

  • Best for: Users who want a unified platform (files, documents, calendar, photos)
  • Integration: Mount existing NAS shares via external storage
  • Plugins: Memories, Recognize, Maps, Face Recognition

Immich

  • Best for: Users who want a Google Photos clone with AI
  • Integration: Use as a dedicated photo backend; sync to NAS via rclone
  • API: REST API for automation and third-party integrations

Alternatives to Consider

Tool Best For AI Mobile App
Nextcloud Unified platform Limited Yes
Immich Photo-focused Excellent Yes
PhotoPrism Archival, geo-browsing Yes Web app
LibrePhotos Open-source purist Yes No

Frequently Asked Questions

Can I use both Nextcloud and Immich?

Yes. Use Nextcloud for file sync and collaboration, Immich for photo management. They can share the same storage backend via NFS or S3.

Which is better for families?

Immich is better for families who primarily want photo sharing and AI search. Nextcloud is better if you also need file sharing, calendars, and document editing.

Does Immich support client-side encryption?

Not yet. Immich prioritizes speed and AI features. If encryption is mandatory, use Nextcloud with E2EE or sync Immich to an encrypted NAS.

How much storage does each need?

Budget 2–3x your raw photo size for both. Thumbnails, AI embeddings, and versions consume extra space.


Conclusion

Summary

  • Choose Immich if: You want a Google Photos replacement with AI search, face recognition, and a polished mobile app.
  • Choose Nextcloud if: You want a unified private cloud with files, photos, documents, and collaboration in one platform.

Next Steps

  • Try Immich for 30 days with your full library
  • Compare mobile app experiences
  • Decide if you need Nextcloud’s broader ecosystem

Affiliate Opportunities

  • installation: hardware — Mini PCs, NAS devices, SSDs
  • integration: tool — Cloud storage backup services
  • alternatives: tool — PhotoPrism commercial license

Internal Linking Strategy

CTA

  • [comment] Which photo manager do you use? Nextcloud, Immich, or something else?
  • [newsletter] Subscribe for weekly self-hosted app comparisons.
  • [internal_link] Next: set up Immich on your server