eGPU via OCuLink: how to connect an external graphics card to a laptop or mini-PC

With OCuLink, you can connect a full-size graphics card to a laptop or mini-PC and get powerful graphics for AI, rendering, and gaming without switching computers. Here we go over how it works, what parts you need, how to connect everything step by step, and what to do if something doesn't work.

Short answer

An eGPU via OCuLink consists of four parts: an OCuLink connection on the computer (either a dedicated port or an M.2-to-OCuLink adapter), an OCuLink cable, a riser card that holds the graphics card, and a separate power supply. Turn off the computer before connecting anything, start the power supply first, and then the computer.

OCuLink is a cable standard for PCIe signals outside the computer. The most common variant uses four PCIe lanes (x4). The graphics card communicates directly via PCIe with the computer, without the signal first being converted by an extra controller chip. This provides low latency and good bandwidth.

With PCIe 4.0 x4, you get approximately 8 GB/s in each direction. Thunderbolt 4 can provide approximately 4 GB/s for PCIe data, so OCuLink has up to approximately twice as much to work with. The exact value depends on whether your computer's port runs PCIe 3.0 or 4.0.

Feature OCuLink Thunderbolt 4 / USB4
Bandwidth for PCIe data Up to approx. 8 GB/s (PCIe 4.0 x4) Up to approx. 4 GB/s
Hot-plugging No, turn off first Yes
Power Separate power supply that you provide yourself Some docks also charge the laptop
Availability Many mini-PCs, some laptops, or via M.2 adapter Many laptops

Thunderbolt is easier to use, because you can plug in and out while the computer is running. OCuLink provides more performance but requires a little more effort.

What you need to connect an eGPU via OCuLink

  • Connection on the computer: a built-in OCuLink port, or an M.2 NVMe-to-OCuLink adapter (fits 2230 to 2280) in an available M.2 slot. In a desktop computer, there is also an OCuLink adapter card for a PCIe slot.
  • OCuLink cable: SFF-8611, 0.5 m. An angled variant is available for tight spaces.
  • Riser card for the graphics card: a card with a PCIe x16 slot that receives the OCuLink signal and a 6-pin power connector.
  • Power supply: a standard ATX power supply that is sufficient for the graphics card with room to spare. The graphics card needs its own power cables, and the riser card needs its 6-pin connector.
  • Graphics card and monitor.

Unsure what fits your computer? Answer a few questions in our cable guide, and you will get a suggestion. You can find the parts in the OCuLink & eGPU category.

How to connect an eGPU via OCuLink step by step

  1. Check the connection. Check in the specifications if the computer has an OCuLink port or an available M.2 M-key slot with PCIe (NVMe). The slot for Wi-Fi is usually E-key and does not fit.
  2. Turn off the computer and disconnect the power. If you use the M.2 adapter, you put it in an available M.2 slot. If your only slot is used by the SSD, the storage needs to be moved.
  3. Connect the OCuLink cable between the computer (or adapter) and the riser card.
  4. Install the graphics card in the x16 slot on the riser card. Connect the graphics card's power cables and the riser card's 6-pin connector to the power supply.
  5. Start the power supply first. Check in the riser card's instructions how the power supply is started when it is not inside a computer.
  6. Start the computer and install the graphics card drivers.
  7. Check the link speed. With an Nvidia card, you can run the command below. You should see PCIe generation 3 or 4 and width 4.
nvidia-smi --query-gpu=pcie.link.gen.current,pcie.link.width.current --format=csv

Connect the monitor directly to the graphics card if you can. If you run the image back to the laptop's own screen, the performance can be lower.

Does eGPU work well for local AI?

Often yes. When you run a language model, the model is loaded into the graphics card's VRAM once, and after that, the traffic over the cable is relatively small. This makes a bandwidth of PCIe x4 sufficient to run models in programs like Ollama and LM Studio. The loading of the model itself takes slightly longer than with the card directly in the motherboard, and games and training of models notice the lower bandwidth more. Read more in our guide to local AI at home.

Troubleshooting: when the eGPU does not work

  • The graphics card is not visible: check that the M.2 slot is a PCIe slot (NVMe) and not just SATA, that the cable is properly seated at both ends, and that the power supply is turned on before the computer starts. Also look in the BIOS for settings for the M.2 slot.
  • The card runs slowly or at x1 or x2: try taking out and putting in the cable again, or try another cable. Check the link speed with the command above.
  • Instability or freezes: check that the power supply is sufficient, and try setting the PCIe generation to 3 in the BIOS if such a setting exists.
  • Black screen: connect the monitor to the graphics card and check that the drivers are installed.

Frequently asked questions about eGPU via OCuLink

Is OCuLink better than Thunderbolt for eGPU?

OCuLink usually provides higher bandwidth and lower latency, but lacks hot-plugging and requires its own power supply. Thunderbolt is easier to use.

Can I plug in and out the eGPU while the computer is running?

No. Treat OCuLink as if it does not support hot-plugging. Turn off the computer before connecting or disconnecting.

Which graphics cards work?

Most PCIe graphics cards. Check the card's physical size, power requirements, and that there are drivers for your operating system.

Do I need my own power supply?

Yes. The laptop or mini-PC cannot power a full-size graphics card, so the graphics card and riser card are powered by a separate power supply.

Read more

Ready to connect an external graphics card?

We have adapters, cables, and riser cards for OCuLink-based eGPU setups.