Magic Switch
Magic Switch is a simple macOS menu bar utility that lets you quickly (and securely) switch Magic Keyboard, Magic Trackpad, Magic Mouse, and other Bluetooth per
About Magic Switch
Magic Switch
A macOS menu-bar utility that hands off Magic Keyboard, Magic Trackpad, and Magic Mouse between two Macs with one click — no KVM, no cables.
This is a security-hardened fork of HoshimuraYuto/blue-switch (opens in a new tab). The original ships an unauthenticated, unencrypted LAN protocol that lets anyone on the same Wi-Fi take over your Bluetooth peripherals or spoof notifications. This fork replaces that channel with a sealed, mutually-authenticated channel keyed by a 12-character pairing code you share between your two Macs — with a massively improved UI/UX over the original: a guided pairing flow, inline status feedback, per-peripheral switching, a needs-attention menu-bar icon, and safe preflight-and-rollback handoffs.
It lives in the menu bar: click a Mac to move every peripheral to it, or a single peripheral to move just that one. A checkmark marks whatever's on this Mac right now, with its battery level.
1. Pair your peripherals to each Mac (System Settings)
In System Settings → Bluetooth on each Mac, pair your Magic Keyboard / Mouse / Trackpad to that Mac the normal macOS way — each peripheral has to be paired to both Macs. Magic Switch doesn't create those first pairings for you. A Magic device reconnects to whichever Mac it last used, so on every switch Magic Switch removes the pairing from the Mac giving the peripheral up (it drops out of that Mac's Bluetooth list) and pairs it again on the Mac taking it. (Once the first pairings are done, you won't re-pair by hand on every switch — Magic Switch handles the handoff.)
Then launch Magic Switch, grant Bluetooth and Local Network when prompted, and click the menu-bar icon → Settings.
2. Pairing tab — link the two Macs (required)
On the first Mac, open Pairing → Generate Code. On the second Mac, open Pairing → Enter Code and manually type that same twelve-character code. The Macs do not need to be connected yet — both derive the same key from the code. Once both show matching eight-character fingerprints, continue to the Macs tab. If the fingerprints differ, check that you entered the same code on both Macs.
Until this is done, switching and peripheral sync refuse to talk to the peer, and an unpaired Mac can't be added by address in the next step.
Before pairing — Generate a code on one Mac; Enter it on the other.
Left: the code one Mac generates (Copy it). Right: type that code on the other Mac.
After pairing — both Macs show the same fingerprint. If they differ, the code was mistyped.
Description adapted from the project README.
- Version
- 3.1.0
- Updated
- Nov 19, 2026
- Size
- 3.2 MB
- License
- GNU GPL 3.0
Open source details
- Source code
- Exact source for v3.1.0
- Released
- Nov 19, 2026
- GitHub stars
- 207
Community project. Help and bug reports go to the maintainers on GitHub; AppsXi does not provide support for this app.
License
CopyleftGNU GPL 3.0
Use and change it freely; anything built from it must be shared under the same license, with its source.
Read the full licenseHow this app was checked
AppsXi checks every version before it is listed.
Signed by Joshua Rogers (LA3A27SJGR)
Apple Developer ID team LA3A27SJGR
Notarized by Apple
Extra macOS protections on (Hardened Runtime)
File matches the fingerprint GitHub published
Show the SHA-256
7fe891c85887d56a31e6581b0ef4b76ee8b47417389284ba94ea226b3f64b37e
Built from public source by GitHub Actions
MegaManSec/magic-switch · main · commit b2e912f · .github/workflows/release.yml
Part of GitHub's immutable release v3.1.0
GitHub signed that this file belongs to that release of MegaManSec/magic-switch, so it cannot be swapped later.
No malware found
ClamAV 1.5.4 on Nov 20, 2026
Updates itself from the maintainer's own feed
sparkle: https://github.com/MegaManSec/magic-switch/releases/latest/download/appcast.xml. AppsXi checks each new version too.
Not included yet: installing and watching the app run in a virtual machine.
What these checks do and don't coverVersions
Checked Nov 20, 2026 · Mac
DMG · 3.2 MB
Questions about Magic Switch
Is Magic Switch free?
Yes. Magic Switch is free and open source under the GNU GPL 3.0. AppsXi lists the maintainers' official release and does not charge for it.
Is Magic Switch safe to download?
AppsXi downloads every version of Magic Switch from the maintainers' official GitHub release and checks it before it is listed. For version 3.1.0 (checked Nov 20, 2026), the Mac download is signed by its developer and notarized by Apple, each file matches the checksum GitHub publishes for the release, byte for byte and a malware scan found nothing.
Does Magic Switch run on Apple silicon Macs?
Yes. Magic Switch has a native Apple silicon build, and it runs on Intel Macs too.
What does Magic Switch need to run?
Magic Switch needs macOS Monterey (12) or later.
Who makes Magic Switch?
Magic Switch is an open source project by Joshua Rogers on GitHub (MegaManSec/magic-switch). Help and bug reports go to its maintainers there.
Reviews
No reviews yet. Anyone who downloads it from AppsXi while signed in can review it a day later.
Something wrong with this app? Report a problem. Maintainer? Ask us to change or remove this listing.
Maintain Magic Switch? Add the AppsXi badge to your README
[](https://appsxi.com/apps/magic-switch)
It shows when Magic Switch is in a top 10 and says “Verified on AppsXi” otherwise.