Skip to content

How-ToSSD

How to Search Your Photos with Local AI Using Immich

How to get Google Photos-style AI search on your own hardware with Immich, the free, open-source self-hosted photo server: check the requirements, install it with Docker, back up your phone, search by description, face or text in images, choose a better CLIP model and speed up indexing with an NVIDIA, AMD or Intel GPU.

By , Systems & Technical Editor

5 min read

How to Search Your Photos with Local AI Using Immich

The steps and requirements below come from Immich's official documentation, read on 24 November 2026. Commands and settings can change between releases, so check the docs if anything looks different.

Cloud photo services are good at finding "dog on a beach" or every picture of your mum, because they run AI over your library on their servers. Immich gives you the same kind of search on hardware you own. It's a free, open-source (AGPL-3.0) photo and video server with apps for Android and iOS, and its machine-learning features, including contextual "smart search", facial recognition and text-in-image (OCR) search, run in a container on your own PC, home server or NAS.

What Immich's AI search can do

According to Immich's documentation, you can search by:

  • Contextual (smart) search: describe what's in a photo in plain language. This uses CLIP models, which match text descriptions to image content, so no tags or keywords are needed.

  • People: faces Immich has recognised and grouped, which you can name.

  • Text in images (OCR): words that appear in photos, such as signs or screenshots.

  • Metadata: file name, folder, location, camera and lens, date range, tags, star ratings and more.

All of this is processed by Immich's machine-learning container on your machine, not by an outside service.

What you need

Immich's requirements page lists:

  • RAM: minimum 6GB, recommended 8GB. With only 4GB, Immich can run with machine learning disabled, which defeats the point here.

  • CPU: minimum 2 cores, recommended 4. On x86 PCs the machine-learning container needs a CPU supporting the x86-64-v2 level, which the docs say covers most CPUs since around 2012.

  • Operating system: Linux is recommended. Windows (via Docker Desktop or WSL 2) and macOS work, but the developers say non-Linux systems tend to give a poor Docker experience and they can offer less help.

  • Software: Docker with the Compose plugin (the docker compose command).

  • Storage: thumbnails and transcoded videos add roughly 10-20% to your library size, and the database (typically 1-3GB) should sit on a local SSD, never a network share.

An old desktop or small home server is ideal. If you're choosing hardware, our best mini PC and best NAS guides are good starting points.

Step 1: Install Docker

On Linux, install Docker Engine and the Compose plugin from Docker's official instructions. On Windows, Immich's docs say to use Docker Desktop or WSL 2; our guide to setting up WSL 2 with GPU support covers the WSL side. Windows users should note one important limitation: the Immich database must sit on a filesystem with Linux-style permissions, so it won't work on an NTFS drive or a /mnt folder in WSL. The docs give a fix: set DB_DATA_LOCATION=pgdata in the .env file and add pgdata: under volumes: at the bottom of docker-compose.yml so Docker manages the database in a volume.

Step 2: Download the Immich files

Create a folder and download the two files Immich's quick-start guide asks for:

mkdir ./immich-app
cd ./immich-app
wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env

If you download them in a browser instead, rename example.env to .env.

Step 3: Edit the .env file

Open .env and change:

  • UPLOAD_LOCATION to a folder with plenty of free space for your photos.

  • DB_DATA_LOCATION to a local folder (ideally on an SSD) for the database.

  • DB_PASSWORD to a random password using only letters and numbers, as the docs advise.

  • TZ= to your time zone, for example Europe/London, by uncommenting the line.

Step 4: Start Immich

From the same folder, run:

docker compose up -d

Then open http://<your-server-ip>:2283 in a browser and click Getting Started. The first account you create becomes the admin.

Step 5: Add your photos

Install the Immich app from the App Store or Google Play, log in with the same server address, tap the cloud icon, pick the albums to back up and enable backup. You can also upload from the web interface, or point Immich at an existing photo folder as an external library. The Job Queues page shows Immich working through face detection, smart search indexing and other jobs.

One warning from the docs worth repeating: Immich's built-in database backups contain only metadata. You still need your own backup of the photos and videos in UPLOAD_LOCATION.

Once the jobs finish, type a description such as "red car in the snow" or "birthday cake" into the search bar. The People view on the Explore page lists recognised faces; name them and you can search by person, or combine people with filters such as location and date.

Step 7: Choose a better search model (optional)

The default CLIP model is fast, but Immich's docs say other models can give better results at the cost of speed and memory. Go to Administration > Settings > Machine Learning Settings > Smart Search to change it. Immich publishes tables comparing models' memory use, speed and recall by language. If you or your family search in languages other than English, pick a multilingual model: the docs say nllb models work best when searches are in the language set in user settings, while xlm and siglip2 models handle mixed-language searches. To switch, paste the model name into the Model Name box, save, then go to the Job Status page and click All next to Smart Search so your existing photos are re-processed with the new model.

Step 8: Use your GPU to speed things up (optional)

Indexing a large library on a CPU can take a long time. Immich's hardware-accelerated machine learning, which the docs describe as experimental, supports:

  • CUDA for NVIDIA GPUs with compute capability 5.2 or higher, with driver 545 or newer (the docs say CUDA is the most reliable).

  • ROCm for AMD GPUs (the image needs at least 35GiB of free disk space).

  • OpenVINO for Intel GPUs such as Iris Xe and Arc.

  • ARM NN and RKNN for certain Arm boards.

It works on Linux and on Windows through WSL 2 only. To enable it, download hwaccel.ml.yml into the same folder, add the backend name (for example -cuda) to the end of the immich-machine-learning image tag in docker-compose.yml, uncomment the extends section and change cpu to your backend, then run docker compose up -d again. On Linux with NVIDIA, you also need the NVIDIA Container Toolkit; our guide to installing NVIDIA drivers on Ubuntu covers the driver side. You don't need to redo past jobs; new jobs simply use the GPU.

Bigger models benefit most from a GPU, so this is also what makes the higher-quality search models practical on large libraries.

Our verdict

Immich is one of the best ways to get Google Photos-style AI search without handing your pictures to a cloud service: describe a scene, find people by face or search for text in images, all processed on your own hardware. Setup takes a Linux box (or Windows with WSL 2), Docker and four commands, and an NVIDIA, AMD or Intel GPU can speed up indexing. Just remember that it's a server you're responsible for, so keep separate backups of your photos.

The bottom line

Immich is one of the best ways to get Google Photos-style AI search without handing your pictures to a cloud service: describe a scene, find people by face or search for text in images, all processed on your own hardware. Setup takes a Linux box (or Windows with WSL 2), Docker and four commands, and an NVIDIA, AMD or Intel GPU can speed up indexing. Just remember that it's a server you're responsible for, so keep separate backups of your photos.

Sources

  1. 01Immich documentation: Quick start
  2. 02Immich documentation: Requirements
  3. 03Immich documentation: Searching
  4. 04Immich documentation: Facial Recognition
  5. 05Immich documentation: Hardware-Accelerated Machine Learning
  6. 06Immich GitHub repository (licence)

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Choose a Gaming Monitor: A Step-by-Step Guide for 2026

How-To

How to Choose a Gaming Monitor: A Step-by-Step Guide for 2026

Choose a gaming monitor in order: match resolution to your graphics card, pick a size for sensible pixel density (24in 1080p, 27in 1440p, 27-32in 4K), a refresh rate your PC can reach, then panel type. Look for a real VESA DisplayHDR tier, adaptive sync and ports that support full refresh rate.

Marcus Thorne7 min

Best Free File Sync Software for Windows PCs in 2026

Best Picks

Best Free File Sync Software for Windows PCs in 2026

The best free file sync software for Windows PCs in 2026: FreeFileSync for most people, Syncthing for continuous PC-to-PC sync, rclone for cloud storage and Robocopy built into Windows, with each tool's sync modes, safety features and catches.

Hannah Vance6 min