How to Check Your CUDA Version on Windows 10

To check your CUDA version on Windows 10, open Command Prompt and run nvcc --version. The line that says Cuda compilation tools, release 12.x is the CUDA Toolkit version installed on your PC. You can also run nvidia-smi, which shows CUDA Version in the top-right corner, but that number is the highest CUDA version your graphics driver supports, not necessarily the toolkit you have installed.

Two different “CUDA versions”

Command or tool What it tells you
nvcc --version The CUDA Toolkit version you installed (used for compiling code)
nvidia-smi Your driver version and the highest CUDA version the driver supports
NVIDIA Control Panel > System Information The CUDA driver version (NVCUDA64.DLL)
Python frameworks like PyTorch The CUDA version the framework was built with

A driver that supports CUDA 12.8 can run apps built with older toolkits like 12.4 or 11.8. The toolkit can’t be newer than what the driver supports.

Method 1: Check with nvcc

  1. Press Windows + R, type cmd, and press Enter.
  2. Type nvcc --version and press Enter.
  3. Look for release in the last line, like release 12.4.
Command Prompt showing nvidia-smi with the CUDA Version field and nvcc --version showing the installed CUDA toolkit release
(1) The highest CUDA version your driver supports, and (2) the CUDA Toolkit version you have installed. (Illustration)

If you see ‘nvcc’ is not recognized, the CUDA Toolkit isn’t installed or isn’t in your PATH. Check the next method.

Method 2: Check with nvidia-smi

  1. In Command Prompt, type nvidia-smi and press Enter.
  2. Look at the top row for Driver Version and CUDA Version.

nvidia-smi is installed with the NVIDIA driver, so it works even without the CUDA Toolkit.

Method 3: Look in the install folder

Open File Explorer and go to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA. Each installed toolkit has its own folder, like v11.8 or v12.4. You can also check the CUDA_PATH environment variable by running echo %CUDA_PATH% in Command Prompt.

Method 4: NVIDIA Control Panel

  1. Right-click the desktop and open NVIDIA Control Panel.
  2. Click Help > System Information > Components.
  3. Find NVCUDA64.DLL. The product name shows the CUDA driver version.

Check the CUDA version in Python

  • PyTorch: python -c "import torch; print(torch.version.cuda, torch.cuda.is_available())"
  • TensorFlow: python -c "import tensorflow as tf; print(tf.sysconfig.get_build_info())"

These show the CUDA version the framework was built for, which matters more than the toolkit version when you install packages.

Frequently asked questions

Why do nvcc and nvidia-smi show different versions?

nvidia-smi shows the maximum version your driver supports. nvcc shows the toolkit you installed. It’s normal for nvidia-smi to show a higher number.

How do I update CUDA?

Update your NVIDIA driver first, then download the CUDA Toolkit version you need from NVIDIA’s developer website. You can install several versions side by side.

Does my GPU support CUDA?

Most NVIDIA GeForce, RTX, and Quadro cards support CUDA. AMD and Intel GPUs don’t. Check NVIDIA’s CUDA GPUs list for your card’s compute capability.

Does this work on Windows 11?

Yes. The commands are the same on Windows 11.