TechBuzzPro

How to Share Files Between Mac and Windows via SMB

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To share files between a Mac and a Windows PC over SMB, enable file sharing on the Windows machine, create or use an existing user account with a password, then connect to that shared folder from the Mac using Finder's Connect to Server feature (Go > Connect to Server) with the address smb://Windows-PC-Name or smb://Windows-PC-IP. Both devices must be on the same local network. This guide walks through the setup on both sides, plus fixes for the usual permission and discovery snags.

What You'll Need

  • A Mac and a Windows PC connected to the same local network (same router or switch).
  • The Windows PC's name or local IP address.
  • A Windows user account with a password (blank passwords often block network access).
  • Administrator rights on the Windows PC to enable sharing and adjust firewall settings.
  • macOS Finder (any recent version) and Windows 10 or 11 with File and Printer Sharing available.

Step-by-Step

  1. On the Windows PC, turn on network discovery and file sharing. Open Settings > Network & Internet > Advanced network settings > Advanced sharing settings (labels vary slightly by Windows version). Under the current network profile (Private or Public), enable Network discovery and File and printer sharing. If you are on a Public network, switch the profile to Private first, because Public profiles block sharing by default.
  2. Create or confirm a user account with a password. Open Settings > Accounts and note the username. If the account has no password, set one—Windows often refuses SMB logins from other machines when the account has a blank password. You will use this username and password on the Mac.
  3. Share the folder you want to expose. In File Explorer, right-click the folder and choose Properties > Sharing tab > Advanced Sharing. Tick “Share this folder”, give it a share name (for example, MacShare), then click Permissions and grant the user account Change or Read access as needed. Click OK through the dialogs.
  4. Check the Windows firewall. Open Windows Security > Firewall & network protection > Allow an app through firewall and make sure “File and Printer Sharing” is ticked for Private networks. If you use a third-party firewall, allow SMB traffic (TCP port 445) on the local network.
  5. Find the Windows PC's name or IP address. On Windows, open Settings > System > About to see the device name, or run ipconfig in Command Prompt and note the IPv4 address (for example, 192.168.1.50). Keep it handy for the Mac.
  6. On the Mac, open Finder and choose Go > Connect to Server. Type smb://Windows-PC-Name or smb://192.168.1.50 (replace with your actual name or IP) and click Connect.
  7. Enter the Windows credentials. When prompted, select “Registered User” and enter the Windows username and password from step 2. If the Mac offers to remember the password in your keychain, that is fine for a trusted home network.
  8. Choose the shared folder and mount it. A list of available shares appears—select the one you created (for example, MacShare) and click OK. The share mounts in Finder under Shared, and you can copy files to and from it like any other folder.
  9. To share from Mac to Windows instead (optional reverse direction), open System Settings > General > Sharing on the Mac, enable File Sharing, click the info button, and turn on “Share files and folders using SMB”. Add a user account under Options if prompted, then on Windows open File Explorer, type \\Mac-Name in the address bar, and sign in with the Mac account credentials.

Common Mistakes

  • Using a blank Windows password. Windows blocks network logins for accounts without a password by default. Set a password before connecting.
  • Leaving the network profile on Public. Public profiles disable discovery and sharing. Switch to Private on trusted home or office networks.
  • Sharing the folder but not granting permissions. The share permissions and the folder's NTFS permissions both matter. If the user can connect but not open or write files, check both layers.
  • Typing the wrong address format. Use smb:// followed by the computer name or IP—not http:// or a full file path.
  • Firewall blocking port 445. Even with sharing enabled, a firewall rule can silently drop the connection. Verify File and Printer Sharing is allowed.
  • Using a Microsoft account email incorrectly. If Windows uses a Microsoft account, the username may be the email address rather than the display name. Try the full email if the short name fails.

Tips

  • Assign the Windows PC a static IP address (or a DHCP reservation in your router) so the SMB address does not change.
  • Use the IP address instead of the computer name if name resolution is flaky—it bypasses NetBIOS and mDNS issues.
  • Create a dedicated Windows account for sharing with a strong password, rather than using your main admin account.
  • On the Mac, add the server to Finder's sidebar (Finder > Settings > Sidebar) for one-click access later.
  • Keep both machines on the same subnet; guest Wi-Fi networks often isolate clients and block SMB.
  • Disable SMB 1.0 on Windows if it is enabled—modern macOS uses SMB 2 or 3, and SMB 1.0 is insecure.

Troubleshooting

If the Mac cannot connect, work through these checks in order:

  1. Ping the Windows PC from the Mac. Open Terminal and run ping 192.168.1.50 (your IP). If there is no response, the devices are not on the same network or the Windows firewall is blocking ICMP—fix connectivity first.
  2. Try the IP address instead of the name. If smb://Windows-PC-Name fails but the IP works, it is a name-resolution issue. Use the IP or add a manual entry.
  3. Recheck sharing and permissions. Confirm the folder is still shared, the user has permission, and the share name is correct. Reboot both machines after changes.
  4. Test SMB from another Windows PC. If a second Windows machine can open \\Windows-PC-Name, the problem is on the Mac side; if not, it is on the Windows side.
  5. Clear stale credentials on the Mac. Open Keychain Access, search for the server name, and delete the saved password, then reconnect and re-enter it.
  6. Temporarily disable the Windows firewall for testing only. If the connection then works, re-enable it and add the correct File and Printer Sharing rule—do not leave the firewall off.
  7. Check macOS File Sharing settings if sharing from Mac to Windows. Ensure SMB sharing is enabled and the user is allowed; then on Windows, clear any saved credentials in Credential Manager and reconnect.

Frequently Asked Questions

Do I need to install extra software?

No. SMB file sharing is built into both macOS and Windows. You only need to enable the built-in sharing features and connect.

Can I share files over the internet, not just locally?

SMB is designed for local networks. Exposing it to the internet is risky and not recommended. Use a VPN to reach your home network remotely instead of opening SMB ports.

Why does the Mac keep asking for a password?

Usually the saved credential is wrong or the Windows password changed. Delete the entry in Keychain Access and reconnect with the current Windows username and password.

What username do I use if Windows signs in with a Microsoft account?

Try the full email address associated with the Microsoft account and its password. If that fails, create a local Windows account for sharing.

Does this work with Windows Home edition?

Yes. File and printer sharing, network discovery, and SMB connections are available in Windows Home; only some advanced management tools are limited to Pro.

Can I access the shared folder from Finder's sidebar?

Yes. After connecting once, the share appears under Shared in Finder. You can also drag it to the sidebar or use Finder > Settings > Sidebar to keep it visible.