How to create a Windows 11 (or 10) bootable USB from macOS

It's surprisingly complicated to create an USB installer for Windows 11 (or 10) from macOS, but it's not impossible. Here's how to do it.

macOS create Windows 11 USB installer
macOS create Windows 11 USB installer / Image: Mauro Huculak
  • To create a Windows 11 USB installer from macOS, you’ll have to download the official ISO file, format a USB flash drive using the “diskutil” tool, split the “install.wim” file with the “wimlib” tool, and transfer the files to the bootable USB drive.
  • Alternatively, you can also use the WinDiskWriter app, which makes it easier to create a Windows USB installer similar to the Rufus tool.

UPDATED 7/12/2024: If you have to install Windows 11 (or 10) on a computer but only have a Mac running Apple’s macOS, you can create a bootable USB flash drive using a non-Windows machine in the same way you can use a Windows computer to create a macOS bootable USB installer.

Although you have multiple methods to create an installation media for Windows 11, they are only available for Windows devices. However, it’s also possible to use macOS. The only issue is that the operating system only lets you format the USB storage using the FAT32 file system that can only store files less than 4GB when the “install.wim” file (containing the installation files) is usually larger than 4GB (usually 5.6GB). As a result, we have to resource third-party tools to split the image into two smaller files to complete the process.

In addition, you can also use WinDiskWriter, which is a third-party app available through GitHub as a free download and streamlines the USB flash drive creation to process to only a few clicks without the need to use the Terminal command console.

In this guide, I will outline the steps to create a bootable USB using macOS to install Windows 11 as well as Windows 10 using the macOS Terminal command console and the WinDiskWrinter app.

Create Windows 11 (or 10) bootable USB on macOS using Terminal

To create a bootable USB to clean install Windows 11 using macOS, use these steps:

  1. Open the Windows 11 ISO download page.

    Quick tip: You can download the Windows 10 ISO file from this Microsoft support website.
  2. Choose the Windows 11 option under the “Download Windows 11 Disk Image (ISO) for x64 devices” setting.

    Windows 11 ISO download on macOS

  3. Click the Download Now button.

  4. Select the installation language.

    Windows 11 ISO language selection

  5. Click the Confirm button.

  6. Click the “64-bit Download” button to save the ISO file on your macOS device, more specifically in the “Downloads” folder.

    Windows 11 ISO download on macOS

  7. Connect a USB flash drive of at least 8GB of storage.

    Quick note: This process erases everything on the drive. As such, it’s recommended that any important data be backed up in the storage.
  8. Open Launchpad.

  9. Search for Terminal and click on the top result to open the command console.

  10. Type the following command to identify the USB flash drive storage and press Return:

    diskutil list

    diskutil list command

    Quick note: In my case, the USB is identified as “disk4.”
  11. Type the following command to clean and format the USB flash drive to make it bootable, and press Return:

    diskutil eraseDisk MS-DOS "Windows_USB" MBR disk4

    diskutil ereaseDisk command

    Quick tip: You can change “Windows_USB” to any name you want, but to avoid issues while running typing commands, make sure the name doesn’t include any space. I made that mistake and had to retype some of the commands because names with spaces have to be specified with quotation marks. Also, change “disk4” for the identifier of your USB flash drive.
  12. Type the following command to open the “Downloads” folder where the ISO file is located and press Return:

    cd Downloads
  13. Type the following command to mount the Windows 11 ISO file to macOS and press Return:

    hdiutil mount Win11_2xH2_English_x64vx.iso

    hdiutil mount command

  14. Type the following command to transfer the installation files from the ISO file to the USB flash drive (excluding the install.wim file because it’s too large a FAT32 partition) and press Return:

    rsync -avh --progress --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/Windows_USB

    rsync Windows 11 ISO files to USB bootable media

  15. Type the following command to install the Homebrew tool on macOS and press Return:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

    macOS install Homebrew

    Quick note: Homebrew is a package manager that will allow you to install the “wimlib” command tool to split the “install.wim” file and transfer it to the USB flash drive.
  16. Confirm your macOS account password and press Return to continue.

  17. Type the following command two commands to add Homebrew to your “PATH” and press Return on each line:

    (echo; echo 'eval "$(/opt/homebrew/bin/brew sheval "$(/opt/homebrew/bin/brew shellenv)"ellenv)"') >> /Users/YOUR-ACCOUNT/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
    

    macOS Homebrew add path

    In the command, update “YOUR-ACCOUNT” to match the name of your macOS account.

  18. Type the following command to install the wimlib tool and press Return:

    brew install wimlib

    brew install wimlib command

  19. Type the following command to split the “install.wim” image and transfer the packages to the USB flash drive, and press Return:

    wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/Windows_USB/sources/install.swm 3500

    wimlib split install.wim command

    Quick note: The “3500” number is the size in MiB of the file split. You can specify any number as long as it’s less than 4GB.

Once you complete the steps, you will end up with a bootable USB flash drive that you can connect to a computer to perform a clean install of the operating system.

Create Windows 11 (or 10) bootable USB on macOS using WinDiskWriter

To create a Windows 11 bootable USB with the WinDiskWriter tool, use these steps:

  1. Open the Windows 11 ISO download page.

    Quick tip: You can download the Windows 10 ISO file from this Microsoft support website.
  2. Choose the Windows 11 option under the “Download Windows 11 Disk Image (ISO) for x64 devices” setting.

    Windows 11 ISO download on macOS

  3. Click the Download Now button.

  4. Select the installation language.

    Windows 11 ISO language selection

  5. Click the Confirm button.

  6. Click the “64-bit Download” button to save the ISO file on your macOS device, more specifically in the “Downloads” folder.

    Windows 11 ISO download on macOS

  7. Connect a USB flash drive of at least 8GB of storage.

    Quick note: This process erases everything on the drive. As such, it’s recommended that any important data be backed up in the storage.
  8. Open the WinDiskWrinter download page.

  9. Click the WinDiskWriter.x.x.zip option to download the file on your Mac.

    WinDiskWriter download tool

  10. Press the Control key + click the WinDiskWriter Zip file, and choose the Open option to extract the tool.

  11. Press the Control key + click the extracted WinDiskWriter tool file, and choose the Open option.

    macOS open WinDiskWriter app

    Quick note: Since this is not an official app, you will receive the “WinDiskWriter.app can’t be opened because Apple cannot check it for malicious software” message, which is an expected behavior for this app.
  12. Press the Control key + click the extracted WinDiskWriter tool file again, and choose the Open option.

    macOS run WinDiskWriter app

  13. Click the Open button.

  14. Click the Choose button in the “Windows Image” setting.

    WinDiskWriter create Windows USB settings

  15. Select the Windows 11 (or 10) ISO image.

  16. Click the Open button.

  17. (Optional) Check the “Patch Installer Requirements” option to install Windows on unsupported hardware.

  18. (Optional) Check the “Install Legacy BIOS Boot Sector” option to install the operating system on a device without UEFI firmware. (This option will require to reopen the app.)

  19. Click the Start button.

  20. Click the Start button again.

  21. Click the Allow button.

After you complete the steps, you will have a bootable USB flash drive to install the operating system.

Update July 12, 2024: This guide has been updated to ensure accuracy and reflect changes to the process.

About the author

Mauro Huculak is a Windows How-To Expert who started Pureinfotech in 2010 as an independent online publication. He has also been a Windows Central contributor for nearly a decade. Mauro has over 15 years of experience writing comprehensive guides and creating professional videos about Windows and software, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 21 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me. Email him at [email protected].