How to Share a Mac Folder with a Windows PC Over SMB

Illustration for How to Share a Mac Folder with a Windows PC Over SMB

You can share a folder from your Mac with a Windows PC on the same network using SMB, a standard file-sharing protocol supported by both operating systems. On the Mac, turn on File Sharing, select the folder, and create a sharing account. On Windows, connect to the Mac using its network address in File Explorer.

Quick Answer

  1. Connect the Mac and Windows PC to the same local network. 2. On the Mac, open System Settings > General > Sharing. 3. Turn on File Sharing and click the information button next to it. 4. Add the folder under Shared Folders. 5. Add a Mac user under Users and choose the user’s permissions. 6.

Before You Begin

Check the following before changing any settings:

  • Both computers are connected to the same Wi-Fi or Ethernet network.
  • The Mac is awake and connected to the network.
  • You know the password for a Mac user account that will access the folder.
  • The folder does not contain files you want to keep private from the Windows user.
  • The Windows network connection is set to Private if Windows blocks local network discovery or file sharing.

A Mac folder shared over SMB is available to other devices on the local network. It is not automatically available over the internet. Avoid opening SMB ports on your router unless you fully understand the security risks. For remote access, use a secure VPN or another purpose-built service instead.

Turn On File Sharing on the Mac

The exact layout can vary slightly between macOS releases, but the relevant settings are in System Settings.

  1. Click the Apple menu in the upper-left corner and choose System Settings.
  2. Select General in the sidebar.
  3. Click Sharing.
  4. Turn on File Sharing.
  5. Click the information button next to File Sharing to open its settings.

You should see the Mac’s local network address and sections for shared folders and permitted users. Leave this window open while you configure the share.

Turning on File Sharing changes how the Mac responds to local network requests. It does not close apps or delete files, but share only folders that you intend to make available.

Add the Folder You Want to Share

  1. In the File Sharing settings, find Shared Folders.
  2. Click the Add button.
  3. Select the folder you want to share, then click Add.

The folder now appears in the shared-folder list. Select it to view or change its access permissions.

For simple transfers, create a dedicated folder such as Mac PC Transfer in your home folder. This is usually safer than sharing your entire home folder or folders such as Documents, Desktop, or Downloads, which may contain personal or sensitive information.

Set Folder Permissions

With the shared folder selected:

  1. Find the Users list.
  2. Click the user whose access you want to change.
  3. Choose a permission level:
    – Read & Write: The user can open, copy, change, rename, and delete files in the shared folder.
    – Read Only: The user can open and copy files but cannot change or delete them.
    – Write Only (Drop Box): The user can place files in the folder but generally cannot browse its contents.
    – No Access: The user cannot use the shared folder.

For routine file transfers, Read & Write may be convenient, but it also allows the Windows user to overwrite or delete files. Use Read Only when the Windows PC only needs to retrieve files.

Folder permissions and file permissions are separate. A user may have access to the shared folder but still be unable to open a particular file because the file’s own permissions or privacy settings deny access.

Enable SMB and Choose a Mac Account

Windows connects to Mac shares through SMB. You must enable SMB in the Mac’s File Sharing options and authorize at least one user account.

  1. In the File Sharing settings, click Options.
  2. Select Share files and folders using SMB.
  3. Under the account list, select the Mac user account that Windows will use.
  4. Enter that account’s password if macOS asks for it.
  5. Click Done.

Use a standard Mac user account when possible. The Windows sign-in name must match the Mac account name that you authorized for SMB access. The account’s display name may not be the same as its short username.

If you are unsure of the username, open System Settings > Users & Groups and select the account. In some cases, you may need the account’s short name rather than the full name shown on screen.

Find the Mac’s Network Address

In the File Sharing settings, macOS displays a message similar to:

Other users can access shared folders on this computer at smb://MacName.local

The address may use the Mac’s name, a .local name, or an IP address. You can use either the Mac name or its IP address from Windows.

To view the IP address:

  1. Open System Settings.
  2. Select Network.
  3. Choose the active connection, such as Wi-Fi or Ethernet.
  4. Click Details.
  5. Select TCP/IP and note the IPv4 address.

The IP address may look like 192.168.1.25. It can change later if your router assigns addresses automatically, so the Mac’s network name is often more convenient for regular use.

Connect from Windows File Explorer

After the Mac share is configured, connect from the Windows PC.

  1. Open File Explorer.
  2. Click the address bar at the top of the window.
  3. Enter the Mac’s SMB address in one of these formats:
\\MacName.local\SharedFolderName

or:

\\192.168.1.25\SharedFolderName
  1. Press Enter.
  2. When Windows asks for credentials, enter the authorized Mac account’s username and password.
  3. Select the option to remember the credentials only if the Windows PC is trusted and used by people you trust.
  4. Click OK.

Replace MacName.local with the address shown in the Mac’s File Sharing settings. Replace SharedFolderName with the name displayed under Shared Folders. Keep the backslashes at the beginning of the Windows path.

If Windows displays the Mac but not the folder, double-click the Mac’s name and select the shared folder. You may still need to enter the Mac account credentials.

Map the Folder as a Windows Drive

Mapping the share gives it a drive letter so it appears in File Explorer like a local disk.

  1. Open File Explorer.
  2. Select This PC in the sidebar.
  3. Click the More button, represented by three dots, in the toolbar.
  4. Choose Map network drive.
  5. Select a drive letter.
  6. Enter the shared-folder path, such as:
\\MacName.local\SharedFolderName
  1. Select Reconnect at sign-in if you want Windows to reconnect automatically.
  2. Select Connect using different credentials if the Windows account is not the same account you want to use on the Mac.
  3. Click Finish.
  4. Enter the authorized Mac username and password.

Automatic reconnection can fail if the Mac is asleep, disconnected, or assigned a different network address. If that happens, open the mapped drive again after both computers are connected.

Test the Share Safely

Start with a noncritical file rather than moving important data immediately.

  1. From Windows, open the shared folder.
  2. Copy a small test file from the Mac to Windows.
  3. If the share is supposed to allow writing, copy a temporary file from Windows to the Mac.
  4. Confirm that the file appears in the intended folder.
  5. Delete the temporary test file from the computer where it is no longer needed.

Do not use the test to delete or overwrite an original file. If you need to move important files, copy them first and verify the copies before removing anything.

Troubleshooting SMB Sharing

Windows Cannot Find the Mac

Confirm that both computers are on the same local network. Guest Wi-Fi networks often isolate connected devices, preventing them from communicating.

On the Mac, return to System Settings > General > Sharing and verify that File Sharing is still enabled. Then try the Mac’s IP address instead of its name:

\\192.168.1.25\SharedFolderName

If the IP address works but the Mac name does not, the problem is likely local name discovery rather than folder permissions.

Windows Asks for Credentials Repeatedly

Make sure you are using the authorized Mac account’s short username and password. Do not use the Windows account password unless both passwords happen to be the same.

On Windows, remove outdated saved credentials:

  1. Open Control Panel.
  2. Choose User Accounts.
  3. Select Credential Manager.
  4. Open Windows Credentials.
  5. Remove the saved entry for the Mac.
  6. Try connecting again and enter the correct Mac credentials.

If you recently changed the Mac account password, Windows may still be attempting to use the old one.

Access Is Denied

On the Mac, select the shared folder under Shared Folders and verify that the account has Read & Write or Read Only access as needed.

Also check the permissions of the folder itself in Finder:

  1. Control-click the folder and choose Get Info.
  2. Expand Sharing & Permissions.
  3. Confirm that the authorized account has appropriate access.
  4. If necessary, click the lock, authenticate, and adjust the permission.

Changing permissions can affect other apps and users, so do not apply broad changes unless you understand which files and folders will be affected. For additional permission troubleshooting, see How to Fix Permission Denied Errors on a Shared Folder on a Mac.

The Folder Opens but Files Cannot Be Changed

The shared-folder permission may be Read Only, or the individual files may be locked or restricted. Check both the folder’s Users list in File Sharing and the file’s Sharing & Permissions section in Finder.

Some files are also in use by an application. Close the application that has the file open before trying again.

The Mac Goes Offline

A Mac may become unavailable when it sleeps, disconnects from Wi-Fi, or changes networks. Check System Settings > Lock Screen for sleep-related settings, but avoid disabling sleep unnecessarily because it can increase energy use and reduce security.

If the connection is needed for occasional transfers, wake the Mac before connecting. If it must remain available regularly, use a reliable Ethernet connection or review the Mac’s sleep behavior for your specific setup.

Windows Shows a Network Error

Temporarily test the connection using the Mac’s IP address. If that fails, confirm that Windows is connected to the same network and that its network profile is not isolating local devices.

On Windows, open Settings > Network & internet, select the active connection, and verify that the network is set to Private when appropriate. Only use Private for a network you trust. Public networks should remain restricted.

File Names or Transfers Cause Problems

Avoid unusual characters, very long file paths, and duplicate file names while testing. Windows and macOS support many of the same file types, but some applications use file names or metadata that behave differently across operating systems.

When copying large files, wait for the transfer to finish before disconnecting either computer. Interrupting a transfer can leave an incomplete destination file.

Stop Sharing the Folder

When you no longer need the share:

  1. Open System Settings > General > Sharing.
  2. Click the information button next to File Sharing.
  3. Select the folder under Shared Folders.
  4. Click the Remove button.
  5. If you no longer need SMB access at all, turn off File Sharing.

Removing a folder from Shared Folders stops network sharing, but it does not delete the folder or its files. Turning off File Sharing also does not delete data. However, disconnect any mapped Windows drive afterward so Windows does not keep trying to reconnect.

Frequently Asked Questions

Can a Windows PC access a Mac folder without installing software?

Yes. Windows includes SMB support, and macOS includes SMB file sharing. You generally only need to configure the Mac share and connect through File Explorer.

Does the Mac and Windows PC need to use the same user account?

No. Use a Mac account that is authorized in the Mac’s SMB settings. The Windows account can have a different name and password.

Can I share a Mac folder over Wi-Fi?

Yes. Wi-Fi works as long as both computers are on the same local network and the network allows devices to communicate with one another.

Is SMB sharing safe?

SMB sharing is reasonably appropriate for a trusted private network when you share only necessary folders and use a strong Mac account password. Do not expose SMB directly to the internet, and turn off File Sharing when you do not need it.

Can I share an entire Mac drive?

You can share broad folders, but doing so increases the amount of data the Windows user may access. A dedicated transfer folder is safer and easier to manage.

Can I connect to the Windows PC from the Mac too?

Yes, Windows can also share folders over SMB. From the Mac, you can use Finder > Go > Connect to Server and enter a Windows share address. For Mac-to-Mac sharing instructions, see How to Share Files Between Two Macs.

Final Thoughts

SMB provides a built-in way to share selected Mac folders with a Windows PC on the same network.