How to connect two laptops via Wi-Fi: all the methods with step-by-step instructions

Connecting two laptops via Wi-Fi without a router is a common task for users when transferring files, collaborating, or setting up a local network. Despite the apparent complexity, modern operating systems offer several built-in tools for setting up such a connection. The key is to choose the method that best suits your needs: whether you need simple data transfer, internet sharing, or a full-fledged network for gaming/streaming.

In this article we will look at 5 working methods Wi-Fi connections between laptops, including Wi-Fi Direct, Creation access points, setting LAN bridge and even use Bluetooth as a backup option. Each method is illustrated with screenshots (for Windows 10/11 And macOS) and accompanied unique technical nuances, which you won't find in standard instructions. For example, why is the data transfer rate through ad-hoc the network is 3 times lower than through Wi-Fi Direct, and how to get around it.

Method 1: Wi-Fi Direct – the fastest connection

Wi-Fi Direct — is a technology that allows devices to connect directly to each other without an intermediary (router). Data transfer speeds here reach 250 Mbps (in theory before 1 Gbps on new standards 802.11ac/ax), making it ideal for transferring large files or streaming.

To activate Wi-Fi Direct on laptops with Windows 10/11:

  • 🔧 Open Settings → Network and Internet → Wi-Fi.
  • 🔄 Turn on Wi-Fi if it is disabled.
  • 🖥️ Click Additional Wi-Fi options (on the right side of the window).
  • 🔗 Choose Wi-Fi Direct and follow the connection wizard.

On macOS (starting from Big Sur) the function is called AirDrop, but for a full network connection it is better to use Network creation V System Preferences → Sharing.

📊 Which connection method do you use most often?
Wi-Fi Direct
Access point
LAN bridge
Bluetooth
Another
⚠️ Note: Not all laptops support Wi-Fi Direct at the hardware level. If this option is not available in the settings, check the specifications of your model on the manufacturer's website (look for a mention Wi-Fi Direct or Miracast).
Way Max. speed OS support Is a router required?
Wi-Fi Direct up to 1 Gbit/s Windows 10+, macOS, Linux No
Access point up to 300 Mbit/s All OS No
LAN bridge up to 100 Mbit/s Windows, Linux Yes (for customization)

Method 2: Creating an access point (Hotspot)

If Wi-Fi Direct unavailable, the alternative is to turn one laptop into access point, and connect the second one to it as to a regular router. This method is universal and works even on older devices.

Instructions for Windows 10/11:

  1. Launch Command line as administrator (Win + X → Command Prompt (Administrator)).
  2. Enter the command to create the network:
    netsh wlan set hostednetwork mode=allow ssid=MyNetwork key=12345678

    Where MyNetwork — the network name, and 12345678 — password (minimum 8 characters).

  3. Activate the network:
    netsh wlan start hostednetwork
  4. Allow Internet sharing (if necessary):
    • 🌐 Go to Control Panel → Network and Internet → Network and Sharing Center.
    • 🔗 Click Changing adapter settings.
    • 🖱️ Right-click on the main connection (for example, Ethernet), select Properties → Access.
    • ✅ Check it out Allow other network users to share your Internet connection and select the created network.

Wi-Fi adapter driver updated|Antivirus not blocking network connections|Network password contains numbers and letters|VPN disabled on second laptop-->

On macOS the access point is created through System Preferences → Sharing → Internet Sharing, where the source is selected Ethernet or Wi-Fi, and as a distribution - Wi-Fi.

⚠️ Attention: If after activating the command netsh wlan start hostednetwork an error appears Failed to start hosted network, the problem is with the Wi-Fi adapter driver. Solution: update the driver via device Manager or download it from the laptop manufacturer's website (for example, for Intel AX200 or Qualcomm Atheros).

Method 3: LAN bridge (for advanced users)

LAN bridge - this is a connection between two laptops via Ethernet- a cable followed by setting up a Wi-Fi bridge. This method is more complex than the previous ones, but it allows you to connect devices into a single network with access to shared folders and printers.

Step-by-step instructions:

  1. Connect the laptops Ethernet-cable (straight, without cross-crimping on modern adapters).
  2. Set static IP addresses on both devices:
    • 🖥️ On the first laptop: IP 192.168.1.1, mask 255.255.255.0.
    • 💻 On the second: IP 192.168.1.2, mask 255.255.255.0.
  • IN Windows open Control Panel → Network and Sharing Center → Change adapter settings.
  • Select both connections (Ethernet And Wi-Fi), right-click and select Setting up the bridge.
  • Once you have set up the bridge, you will be able to transfer files over your local network or even play online games (for example, Minecraft or CS:GO in LAN mode). However, the speed will be limited by the bandwidth Ethernet-port (usually 100 Mbps).

    Why isn't the Wi-Fi to Ethernet bridge working?

    If the internet connection drops after setting up the bridge or the devices can't see each other, the DHCP settings may be the cause. Disable automatic IP acquisition on the Wi-Fi adapter and set a static address manually (e.g. 192.168.1.100 for the first laptop and 192.168.1.101 for the second).

    4. Method: Ad-Hoc network (outdated, but working method)

    Ad-Hoc networks are temporary point-to-point wireless connections that are supported by all versions Windows starting from XPDespite being outdated, the method is still relevant for older laptops without Wi-Fi Direct.

    How to create Ad-Hoc net:

    1. Open Control Panel → Network and Sharing Center → Set up a new connection.
    2. Select Setting up a wireless computer-to-computer network (V Windows 7/8) or use the command:
      netsh wlan set hostednetwork mode=allow ssid=AdHocNet key=password keyUsage=persistent
    3. Start the network:
      netsh wlan start hostednetwork
    4. Disadvantages of the method:

      • ⚠️ Speed ​​limited 54 Mbps (standard 802.11g).
      • ⚠️ No support in Windows 11 (requires bypass through netsh).
      • ⚠️ Unstable connection when there are a large number of devices on the air.

      5. Method: Bluetooth (if Wi-Fi doesn't work)

      If the Wi-Fi adapters on both laptops have failed or are missing, Bluetooth will be a lifeline. The data transfer speed here is modest (1–3 Mbps For Bluetooth 4.0 and before 50 Mbps For Bluetooth 5.0), but it is enough for transferring documents or small files.

      How to connect laptops via Bluetooth:

      • 🔵 Turn on Bluetooth on both devices (Win + A → Bluetooth V Windows 10/11).
      • 🔍 On the first laptop, press Add device → Bluetooth.
      • 🖥️ Select the second laptop from the list and confirm the pairing (the code must match on both screens).
      • 📁 To transfer files, use Send file → via Bluetooth in the file's context menu.

      On macOS the process is even simpler: open Finder → AirDrop and drag the files to the second laptop icon.

      ⚠️ Caution: When transferring files via Bluetooth Windows can automatically compress them into a ZIP archive. To disable this, go to Settings → Devices → Send files and uncheck Compress files when sending.

      Comparison of methods: which one to choose?

      The choice of connection method depends on your tasks:

      • 🚀 Maximum speed: Wi-Fi Direct (to 1 Gbps).
      • 🌐 Internet access sharing: Access point (Hotspot).
      • 🔌 Stable local network: LAN bridge (via Ethernet).
      • 📱 Backup option: Bluetooth (if Wi-Fi is broken).

      Optimal for most users Wi-Fi Direct or Hotspot. If you need to connect laptops into a network with shared resources (for example, for 1C or online games), it's better to set up LAN bridge.

      FAQ: Frequently Asked Questions and Problems

      ❓ Why can't laptops see each other via Wi-Fi Direct?

      The problem may be:

      • Disconnected Wi-Fi Direct in BIOS (on some laptops Lenovo or HP it needs to be activated manually).
      • Outdated Wi-Fi adapter drivers (update via device Manager).
      • Firewall or antivirus (temporarily disable Windows Defender or Kaspersky).

    Solution: Check the settings in Control Panel → Network and Internet → Sharing Options and turn it on Network discovery.

    ❓ How do I share internet from one laptop to another?

    If the first laptop is connected to the Internet via a cable or a 4G modem:

    1. Create an access point (see Method 2).
    2. In the sharing settings (Control Panel → Network → Change adapter settings) allow the use of the Internet for the created network.

    On macOS: System Preferences → Sharing → Internet Sharing (source - Ethernet, distribution - Wi-Fi).

    ❓ Is it possible to connect Windows and macOS laptops?

    Yes, but with nuances:

    • Wi-Fi Direct: macOS does not support Wi-Fi Direct directly, but can be used AirDrop for file transfer.
    • Access point: create a Hotspot on Windows, A Mac connect to it as to a regular router.
    • Ethernet bridge: works without problems if you set static IP in one subnet (for example, 192.168.1.1 And 192.168.1.2).
    ❓ Why is file transfer speed slow?

    Reasons and solutions:

    Problem Solution
    Used Ad-Hoc net Switch to Wi-Fi Direct or LAN bridge.
    Weak Wi-Fi signal Place laptops closer together or use 5 GHz range (if supported).
    Background downloads Disable updates Windows and torrents for the duration of the transfer.
    ❓ How do I share files without an internet connection?

    If none of the methods work, alternatives:

    • 🔌 Use USB cable (needed) USB-A/Micro-B or USB-C (depending on the model).
    • 💿 Transfer files to flash drive or external SSD.
    • ☁️ Upload files to the cloud (Google Drive, Dropbox) from one laptop and download on another.