How to Check CUDA Version on Windows 10 – Quick Guide
In this article
Yes, you can check your CUDA version on Windows 10 by using the command line (nvidia‑smi or nvcc) or by looking at the NVIDIA Control Panel.
What You'll Need
- An NVIDIA GPU installed in the Windows 10 machine.
- The official NVIDIA driver (or the full CUDA Toolkit) installed.
- Basic familiarity with the Windows Command Prompt.
- Administrative rights if you need to install or update drivers.
Step‑By‑Step
- Open the Run dialog by pressing Win + R, type
cmd, and press Enter. This launches a standard Command Prompt window. - First try the NVIDIA System Management Interface. Type
nvidia-smiand press Enter. If the command is in your PATH, you will see a table that includes a line likeCUDA Version: 11.8. This is the version supported by the currently installed driver. - If
nvidia-smiis not recognized, navigate to its default location. Typecd "C:\Program Files\NVIDIA Corporation\NVSMI"and press Enter, then runnvidia-smiagain. - To see the version of the CUDA Toolkit (if you have it installed), type
nvcc --versionand press Enter. The output will contain a line such asCuda compilation tools, release 11.7, V11.7.99. This tells you the exact toolkit version. - If
nvccis not found, you may need to add the toolkit’sbinfolder to your PATH. The default path isC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\vX.Y\bin, whereX.Yis the version number (e.g.,v11.7). - Alternatively, you can verify the installed toolkit via the Windows “Programs and Features” list. Open the Control Panel, go to Programs > Programs and Features, and look for entries that start with “NVIDIA CUDA Toolkit”. The version number appears next to the name.
- Another graphical method is the NVIDIA Control Panel. Right‑click the desktop, choose NVIDIA Control Panel, then select System Information from the bottom‑left corner. In the Details tab, scroll to find “CUDA Version”. This reflects the version bundled with the driver.
- If you have multiple CUDA toolkits installed, you can locate each version’s folder under
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\. The folder name (e.g.,v10.2) indicates the version. - To confirm that a specific application is using the expected CUDA version, you can run the application with the environment variable
CUDA_VISIBLE_DEVICESset, then check its log output for a version string. This step is optional and mainly for developers. - When you have gathered the information, note both the driver‑reported CUDA version (from
nvidia-smi) and the toolkit version (fromnvcc) if both are present. They may differ; the driver version is what runtime libraries use, while the toolkit version is what you compile against.
Common Mistakes
- Confusing driver version with CUDA version. The driver may report a newer CUDA capability than the toolkit you have installed.
- Forgetting to add the CUDA
bindirectory to PATH. Without it,nvccandnvidia-smireturn “command not found”. - Running the command from a PowerShell window that has a different PATH. Use Command Prompt or ensure the environment variables are identical.
- Looking at the wrong Control Panel. The Windows Settings app does not display CUDA information; you must open the NVIDIA Control Panel.
- Assuming the version shown in the NVIDIA GeForce Experience app is the CUDA version. That app only shows driver version.
Tips
- Pin the
nvidia-smicommand to a desktop shortcut: create a shortcut with targetcmd /c "nvidia-smi"for one‑click access. - Use
where nvidia-smiorwhere nvccto verify which executable is being called. - If you regularly switch between toolkit versions, keep separate environment scripts that set
PATHandCUDA_PATHfor each version. - Check the compatibility matrix on NVIDIA’s developer site to ensure your driver supports the toolkit you plan to use.
- When troubleshooting, run
nvidia-smi -qfor a detailed query that includes the exact CUDA capability of your GPU.
Troubleshooting
If the steps above do not produce a version number, follow this escalation path:
- Restart your computer. A simple reboot often refreshes PATH changes and driver state.
- Verify the driver installation. Open Device Manager (Win+X → Device Manager), expand “Display adapters”, and ensure the NVIDIA device shows no warning icons. If it does, reinstall the driver from the official NVIDIA website.
- Re‑install the CUDA Toolkit. Download the latest supported installer from NVIDIA, run it, and choose a clean installation. This will automatically add the required PATH entries.
- Check for multiple installations. If you see several
CUDAfolders underC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\, delete the ones you no longer need, then update the PATH to point only to the active version. - Run the commands with administrative rights. Right‑click the Command Prompt shortcut and select “Run as administrator”. Some driver files are protected and may not be visible to a standard user.
- Inspect the log files. The driver writes a log to
C:\ProgramData\NVIDIA Corporation\Drs\. Look for any error messages that reference “CUDA”. - Contact NVIDIA support. If none of the above resolves the issue, gather the output of
nvidia-smi -qand the driver version, then open a ticket on the NVIDIA support portal.
Frequently Asked Questions
Does the driver version equal the CUDA version?
No. The driver reports the highest CUDA capability it supports, while the toolkit version you install determines the headers and libraries used for compilation.
How can I find out which CUDA version my GPU can run?
Visit NVIDIA’s product page for your GPU model and look for the “CUDA Compute Capability” table. The highest CUDA version listed there is the maximum you can use.
Can I have multiple CUDA toolkits installed side‑by‑side?
Yes. Each toolkit installs into its own version‑named folder. Just manage the PATH and CUDA_PATH environment variables to point to the desired version before compiling or running code.
Why does nvidia-smi sometimes show “CUDA Version: N/A”?
This usually means the driver is too old to expose a CUDA version, or the GPU does not support CUDA (e.g., a legacy or non‑CUDA device).
Will a Windows Update change my CUDA version?
Windows Update can replace the NVIDIA driver, which may increase or decrease the driver‑reported CUDA capability. It does not modify the installed CUDA Toolkit.
Is there a way to check CUDA version without opening a command prompt?
Yes. Open the NVIDIA Control Panel, go to “System Information”, and look for the “CUDA Version” entry in the Details tab.