What "connecting" your laptop and desktop actually means
Connecting a laptop to a desktop means setting up a way for them to see each other and share files, printers, or internet. You are not physically plugging them together with a cable (though that is one option). Instead, you are creating a network link — usually wireless — so both machines can talk to each other and move data back and forth.
The most common reason people want this connection is to move files between machines without using a USB drive, or to let both computers use the same printer. A secondary benefit is that your laptop can sometimes use the desktop's internet connection if your main connection goes down.
The method you choose depends on what you want to do, what operating system each machine runs, and whether you want the connection to be permanent or temporary.
Key Takeaways
- The simplest connection for most people is to put both machines on the same Wi-Fi network, which lets them see each other without any setup.
- Windows machines can share files and printers through File Explorer by turning on Network Discovery in Settings, while Mac machines use Finder and System Settings.
- If you want to control one machine from the other (like using your laptop keyboard to move the desktop's mouse), you need remote access software like Microsoft Remote Desktop or TeamViewer.
- A wired Ethernet connection between the two machines is faster and more stable than Wi-Fi, but requires an Ethernet cable and a network switch or router with multiple ports.
- Printer sharing is usually the easiest connection to set up — most modern printers connect to Wi-Fi themselves, so both machines can print to them without any special configuration.
Connecting both machines to the same Wi-Fi network
This is the first step for almost any connection method. Both your laptop and desktop need to be on the same Wi-Fi network — the same one your phone uses, most likely. If your desktop does not have Wi-Fi built in, you can add a Wi-Fi adapter (a small USB device or internal card) for $15 to $40.
Once both machines are on the same network, they can see each other. On Windows, open File Explorer and look for "Network" in the left sidebar. On Mac, open Finder and look for "Network" at the bottom of the sidebar. If you do not see the other machine listed, you may need to turn on Network Discovery. On Windows, go to Settings > Network & Internet > Advanced Network Settings > Advanced Sharing Options and turn on "Network Discovery" and "File and Printer Sharing". On Mac, go to System Settings > General > Sharing and make sure "File Sharing" is turned on.
This connection is wireless and works across your home or office. It does not require you to do anything special — just connect both machines to your router the same way you connect your phone.
Sharing files between Windows machines
Once both machines are on the same network and Network Discovery is on, you can share a folder from your desktop so your laptop can see it. Right-click the folder you want to share, select "Properties", go to the "Sharing" tab, and click "Share". Choose which user accounts can access it (you can pick "Everyone" for simplicity), set whether they can only read files or also change them, and click "Share".
On your laptop, open File Explorer, click "Network" in the sidebar, and you should see your desktop machine listed by name. Double-click it, and you will see the folders you shared. You can drag files in and out just like a USB drive. If the desktop machine does not appear, wait a minute or two — sometimes it takes a moment for machines to find each other on the network.
You can share as many folders as you want, and you can change the permissions (read-only versus read-and-write) at any time by going back to that folder's Properties.
Sharing files between Mac machines or between Mac and Windows
On a Mac, go to System Settings > General > Sharing and turn on "File Sharing". Click the plus sign to add the folders you want to share. For each folder, you can set which user accounts have access and whether they can only read or also make changes.
On another Mac, open Finder, click "Network" at the bottom of the sidebar, find your other Mac, and click "Connect As". Enter your username and password for that machine. You will then see the shared folders appear in Finder.
If you are sharing between a Mac and a Windows machine, the process is similar, but Windows may have trouble finding the Mac at first. On the Windows machine, open File Explorer and type the Mac's address directly into the address bar in the form \\machinename.local (replace "machinename" with the actual name of your Mac, which you can find in System Settings > General > About). This usually works better than waiting for the Mac to appear in the Network list.
Sharing a printer between both machines
If your printer has Wi-Fi, the easiest route is to connect the printer directly to your Wi-Fi network using its own setup menu or app. Once it is on the network, both your laptop and desktop can print to it without any special configuration — just select it from the printer list when you print.
If your printer does not have Wi-Fi, you can connect it to whichever machine (laptop or desktop) you use more often, then share that printer across the network. On Windows, go to Settings > Devices > Printers & Scanners, right-click the printer, select "Printer Properties", go to the "Sharing" tab, and turn on "Share this printer". On Mac, go to System Settings > General > Printers & Scanners, right-click the printer, and select "Share this printer on the network".
Once the printer is shared, the other machine should see it in its printer list automatically. If it does not, you may need to manually add it by typing the first machine's address or name into the printer setup dialog.
Controlling one machine from the other with remote access
If you want to sit at your laptop and control your desktop (moving the desktop's mouse, typing on its keyboard, seeing its screen), you need remote access software. Microsoft Remote Desktop is built into Windows and works well for Windows-to-Windows connections. On the desktop, go to Settings > System > Remote Desktop and turn it on. On the laptop, read the Remote Desktop app from the Microsoft Store, open it, type your desktop's name or IP address, and click Connect.
For Mac-to-Mac or Mac-to-Windows connections, TeamViewer is a common choice. Both machines read and install the free version, and you can then control one from the other by entering a partner ID. TeamViewer also works between Windows and Mac, which Remote Desktop does not.
Remote access is slower than file sharing because it is sending the entire screen image over the network. It is useful for troubleshooting, running a program on the desktop from your laptop, or accessing your desktop when you are away from home. It is not the right choice if you just want to move files back and forth — file sharing is much faster for that.
Using a wired connection for faster, more stable file transfer
If you are moving large files or want the most reliable connection, you can connect the two machines with an Ethernet cable. You will need an Ethernet cable (usually $10 to $20), and you have two options: connect both machines directly to each other with a crossover cable, or connect both to a network switch or router that has multiple Ethernet ports.
Connecting directly to each other is simpler but slower and less flexible. Connecting through a router or switch is faster and lets you add more machines later. Most home routers have four Ethernet ports on the back, so you can plug both machines in without buying anything extra.
Once both machines are plugged in, they will recognize each other on the network automatically. The file sharing process is the same as with Wi-Fi — you just get faster speeds. Wired connections are also more stable, so if you are transferring a very large file (several gigabytes), a wired connection is less likely to drop halfway through.
Frequently Asked Questions
Do I need a router to connect two computers?
Not necessarily. You can connect them directly with an Ethernet cable, or you can use Wi-Fi if both machines have Wi-Fi built in. A router makes it easier because it handles the network automatically, but you can create a temporary connection without one.
Why can't I see the other computer in my Network list?
Network Discovery is usually turned off by default on Windows. Go to Settings > Network & Internet > Advanced Network Settings > Advanced Sharing Options and turn on "Network Discovery" and "File and Printer Sharing". On Mac, go to System Settings > General > Sharing and turn on "File Sharing". It may take a minute or two for machines to find each other after you turn these on.
Is it safe to share files over my home network?
Yes, as long as both machines are on the same Wi-Fi network that you control. Your home network is private — other people cannot see your shared files unless they are also connected to your Wi-Fi. If you are on a public Wi-Fi network (like at a coffee shop), do not share files, because anyone on that network could potentially access them.
What is the difference between file sharing and remote access?
File sharing lets you move files between machines. Remote access lets you control one machine from another — you see its screen and can use its keyboard and mouse. Remote access is slower but more powerful. Use file sharing to move files; use remote access to troubleshoot or run a program on the other machine.
Can I connect a laptop and desktop if they run different operating systems?
Yes. Windows and Mac machines can share files with each other over a network, though the setup is slightly different. Remote access between Windows and Mac requires third-party software like TeamViewer, since Microsoft Remote Desktop only works between Windows machines.