Mac storage basics · Apps and macOS itself
How do I remove a Boot Camp Windows partition to get the space back?
Short answer: On Intel Macs, use Boot Camp Assistant's option to remove Windows and restore a single volume, after copying off files. Apple silicon uses virtual machines instead.
On Intel Macs, open Boot Camp Assistant and use its option to remove Windows and restore the disk to a single volume — this gives the space back to macOS. Copy any files you need from Windows first, because the partition is erased.
Apple silicon Macs don't support Boot Camp; if you run Windows there it's inside a virtual machine, and you reclaim that space by deleting the VM.