InsomniaX Logo

Version: 0.5/1.3.5/2.1.8

It always has been a missing feature: disabling the sleep mode on a Apple Laptop. Who does not want to use it as a big juke-box or go warwalking. The best looking server ever, especially at about one inch height. This small utility is what you will want, this small utility acts as a wrapper to the Insomnia kernel extension.




Note: InsomniaX is PASSIVE!
This means that unless another program has interfered with the operations of InsomniaX, once you reboot your system it will be completely removed from the system until you start InsomniaX and activate its features.

If after a reboot or during boot you exhibit issues, these are not related to InsomniaX. (The only exception is if you have InsomniaX in your startup items for your login)

Uninstalling/Repairing InsomniaX
The most common ticket in the help desk regarding issues with InsomniaX or requesting instructions on how to remove InsomniaX, below is a simple step list of what is required to completely wipe out InsomniaX. If any problems exist after removing InsomniaX it should not be related to Insomnia as it works as a passive changing, in other words once its unloaded all changes are moved (Especially after a reboot any trace should be gone)

  1. Reboot the machine
  2. Ensure InsomniaX is not running
  3. Enter in terminal : defaults delete com.semaja2.InsomniaX (use net.semaja2.insomniax for InsomniaX 2.1 +)
  4. Delete ~/Library/Application Support/InsomniaX (Use the terminal command “sudo rm -rf ~/Library/Application\ Support/InsomniaX”
  5. Delete /Applications/
  6. If reinstalling download latest version from MacUpdate

577 thoughts on “InsomniaX

  1. Hi Everyone,

    I would strongly advise against installing the very outdated InsomniaX 2.0 which contains many bugs, and would require lowering the security on a Yosemite system to run correctly.

    InsomniaX 2.1.8 has been tested on Yosemite and works 100%


  2. Alex

    Hello Andrew,

    I’ve been using Insomniax for a little while. I want to be able to run with the lid closed while not plugged into AC to maximize battery life by avoiding constant charging. I can get Insomniax to do that but it always takes a couple of tries. Namely, when I first select “Disable Lid Sleep” and unplug the laptop, it usually still goes to sleep. Also, if I select “Disable Lid Sleep” and even “Disable Idle Sleep” but the monitor goes to sleep while I’m not using the laptop, getting the screen to turn on requires plugging the laptop into AC again. When it wakes up, I see the “Disable…” settings still selected in the menu but unplugging AC will immediately put it back to sleep. To get it to work off AC requires unselecting “Disable Lid Sleep” (which immediately puts it to sleep even while plugged into AC), waking it up again, and selecting “Disable Lid Sleep” again.

    I have no special default settings. Perhaps, I’m missing something simple or is there something that must be unique to my setup (MacBook Pro (Retina, 15-inch, Late 2013) running Yosemite 10.10.1 (14B25))?

    Thanks for any help with getting this to work reliably.

  3. AL

    In my setup (macbook pro non-retina 13″) w/ Yosemite 10.10.1 InsomniaX doesn’t work. It always go sleep… On Mavericks it did work properly bu after the upgrade I doesn’t… I upgraded to 2.1.8 wit no luck

  4. BarryMcCockner

    Its very rare an app works the way you want to, however this app is an exception.
    It does exactly what its intended to do.
    Good job dev’s.

    – Yosemite MBA 11″

  5. Robin

    Do you have an explanation of all the settings for InsomniaX? They might seem obvious, but I’m a bit confused! I am trying to allow my macbook to serve a music player, while the lid is closed. I would have thought that setting the ‘disable lid sleep’ would do the trick; but it seems to be working with the ‘disable idle sleep’. Also- what does CPU Safety mean? I’m not a techie and very new to MAC.

    Thank you.

  6. sysnetarea

    I installed this tool yesterday and it’s still the best ever. I run it on OS X Yosemite 10.10.1 without trouble. Thanks bunches for the very good work and keep going.

    How can I donate something? Do you use PayPal?

  7. Steve

    Hi, love this app. Found a little bug though: When I reopen the lid and “Disable Lid Sleep” is checked, my keyboard backlit does not automatically re-light up until I change the screen brightness with F1/F2.

  8. victor

    estoy trabajando en edicion de fotos y estoy conectado a un monitor mac y quiero cerrar la pantalla de mi macbook y y no funcion por que se me apaga el monitor

  9. Bob

    Nice program, thanks for doing it.

    Can you tell me if this is intended operation: If I check “Save States on Exit” and “Start on Login” under Preferences, and have selected “Disable Lid Sleep”, does that mean after a system restart InsomniaX will run *and* Disable Lid Sleep should still be selected? On 10.10.3 InsomniaX is starting on login as expected, but the check mark is gone and lid sleep is not disabled until it is manually selected again. Is there a way to get that check mark to persist, always have lid sleep disabled forever after until the option is unchecked?


  10. Matt

    Not sure if it’s actually working. I have it set to disable lid sleep and disable idle sleep, but when I close my MBP it seems to still shut down to sleep mode like it always has. Apple logo light goes off, and processes halt. When I open it again, downloads have paused and internet has to reconnect–all the marks of a system that’s slept because the lid was closed.

  11. xdxdy

    Hello, good night!

    Thank for your great app InsomniaX , it helps me a lot. I use it every day. It’s really a good app!

    But I have a question, I do see the screen off when I close my macbook while the InsomniaX working, but some times after I disable Lid Sleep and close the macbook for a long time, I can see the screen burn-in a little when I open it again(which disappears after turn off the power for a while) . But the screen seems been turn off during those time.

    So can you tell me is the screen really off when Lid Sleep disabled and the macbook closed?

    Thanks for your help, have a good day~:)

  12. The argument for this fact is that the i – Pod videos are too
    small for being watched by too many people at
    the same time and require more attention than the audio programs.
    Most often the photos have some texts and both the photos and the texts are very funny indeed.
    You – Tube has gotten known as the most obvious site for amusing features, or in fact any sort of feature
    from music features to games occasions.

  13. Petr

    In the current OS X El Capitan betas the InsomniaX 2.1.8 doesn’t work properly, most likely due to the new System Integrity Protection.
    Only if I manually load the Insomnia kext then it works for a while (however after some time the kext got unloaded by the OS) – so it seems you will have to install and load it system wide here. But maybe you’ll find a way to avoid that.

    Anyway, could you please make a preference pane for setting up the kext settings? That would of course to load the kext system wide in any case, however I wouldn’t have to keep the InsomniaX app running at all times (usually I use it only to prevent sleep when closing lid and that’s what the kext takes care of)

  14. Ben

    Another request to let us know when you have updated InsomniaX to work with El Capitan. I miss being able to use this useful app!

  15. Doug

    Seems to work well. I’m not having the issues others have reported with El Capitan. Thanks.
    One feature request though, and it seems a lot of people would like this judging by forum requests, is to be able to have an option for InsomniaX disable lid sleep while using airplay mirroring. Currently clamshell mode is not enabled for airplay mirroring. This is the only time I ever want InsomniaX activated so it would save the trouble of having to remember to enable InsomniaX and disable after every time I use airplay. I would definitely be willing to purchase/donate for this upgrade.

  16. Vlado

    I take my report on InsomniaX not working under El Capitan back – it now miraculously seems to be working fine. I think the 10.11.1 update might have done the trick 🙂

  17. jmmelko

    In response to ROBIN:

    NO Lid Sleep = prevents sleep when closing the shell of your clamshell notebook
    NO Idle sleep = prevents sleep after a given amount of time of inactivity
    To run your notebook as a server, the second option must be activated.

    In response to XDXDY: close the shell slowly and try to peer between the screen and the keyboard: you should see the screen dim out completely a few millimeters before closing the shell completely. At least that what happens with my MacBookAir.

    In response to BEN, VLADO and DEVYN:

    InsomniaX 2.1.8 now works under El Capitan 10.11.2. At least for me.

  18. John

    This app is great and works like expected. It does not automatically add the application to the application folder you have to manually drag it over. I deleted the app right when i installed it on accident. The application does work though. Thanks.

  19. Timus

    Hello Andrew,
    One problem I view in my MacBook Pro 2015 with Yosemite.

    I need to work perfect in clamshell mode with external monitor and with battery. For this I install your good App InsomniaX. Works Ok an no sleep when I work with battery in clamshell mode but have one problem…

    Also, if I select “Disable Lid Sleep” and even “Disable Idle Sleep” but the monitor goes to sleep while I’m not using the laptop, getting the screen to turn on requires plugging the laptop into AC again OR open laptot screen to wake the system. You can resolve this situation?

    This problem not have when the laptop works with AC power adapter. With AC power adapter only need one click in mouse to wake the system.

    Thanks for all.

  20. Biver

    I am trying to disable lid sleep on a:

    MacBook Pro (15-inch, 2.4, 2.2GHz)
    2.2 GHz Intel Core 2 Duo
    MacBookPro3,1 (Pre-unibody)

    And it won’t not sleep. I can disable display sleep no problem. But when I choose Disable Lid Sleep from the top bar menu, it just ignores my choice and doesn’t change the icon or anything.

    Is this a known problem with this model MacBook? I’ve also tried the competition (as a last resort! 🙂 and I had the same results. Please advise.

  21. Richard

    It won’t allow me to check off “Disable Lid Sleep”. I’m on a rmbp13 2015. Nothing seems to keep mac awake with lid closed since the upgrade to El Crapitan.

  22. Mark Vegh

    I really like your app, great job!
    My only notice is that for me on El Capitan on my MBA 2015 13″ my keyboard backlight’s state doesn’t get restored on opening lid.

  23. Mark Vegh

    It’d be also cool if we could adjust CPU safety. I don’t know if it’s normal but it turns on at around 80 degrees but I think the temperature gets really high at around 100 degrees.

  24. Dan

    MAC Book Pro, El Capitan 10.11.3, AC Power, InsomniaX 2.1.8 There are no combinations that will make the crescent moon fill in and enable the “disable lid sleep” mode. The eye (idle) does appear to enable.

  25. Malcolm

    MAC Book Air, El Capitan 10.11.3, InsomniaX 2.1.8 – Same as Dan, no combinations that will make the crescent moon fill in and enable the “disable lid sleep” mode. It was working as of 6 months ago, suggesting one of the OS updates may have caused it to fail.

  26. Damon

    It’s not working for me. I select “Disable Lid Sleep” but there’s never a checkmark next to it like there is next to “Disable Idle Sleep” if I select that, and my macbook still goes into sleep mode when I close the lid.

    I’m on a 2015 13″ MBPr, latest version OSX, latest version InsomniaX.

  27. Akhil

    The recent update to EL Capitan 10.11.5 does not allow Disable Lid Sleep function on InsomniaX 2.1.8

  28. Akhil

    Alright, issue of Disable Lid Sleep feature not functioning after update to 10.11.5 FIXED.
    All I did was quit InsomniaX and then fresh download 2.1.8. All good now.
    Full filled crescent moon now 🙂

  29. Keith

    Not fixed for me… Awhile could you please verify that this is working for you? I don’t see how a re-install could affect anything because there is no installer, just a zipped app.

  30. TOM

    I can confirm this is working for me on El Capita 10.11.5. Initially it did not work for me, however, it did once I set the “Start on Login” and “Save states on exit” and rebooted my machine. Upon restart everything worked just fine.

  31. Rammstein

    Confirmation of this working without any issue on El Capita 10.11.5
    Simple install
    click icon
    Select – Disable lid sleep
    click icon AGAIN
    Select – Disable idle sleep
    (Observe icons have turned black)
    Start music playing using the internal Macbook speakers
    (Once you hear music playing, close the lid)

    How you over complicate or make your laptop less secure
    with this great feature is totally up to you ; )

    I’ve been looking for this idea for awhile now, thank you

Leave a Reply