Idle User Logout


This plugin detects idle user and execute the action that is being specified in Admin End.

The plugin is very minimalistic. Nothing fancy. So, if you are looking for a plugin that adds up security without having to add additional load in your website, you can try this plugin.

From version 2.0, you can now specify the action and time for each user role.

It tracks the users activity in both the front end and admin end.

You can setup Idle Time from WP Admin > Settings > Idle User Logout

Once you reach Idle User Logout Page, you can setup behavior of the plugin for each user\’s role.

If there is any problem, or need any help, we can give you a helping hand.


  • 1 Admin Section Admin section to describe the behavior of each roles of users
  • 2 Popup Pop up shown right after idle timer is reached.


Install this plugin is very simple:

  1. Upload the plugin\’s folder to the /wp-content/plugins/ directory

  2. Activate the plugin through the \’Plugins\’ menu in WordPress

  3. That\’s it! Go to Settings > Idle User Logout and configure the field \”Auto Logout Duration\” as you want.


How do I change the idle time period?

Go and configure the time period whatever you like from your admin end general settings page.

It\’s in milliseconds, so 2 seconds is equal to 2000 ms of idle time.

What happens if I accidentally set time to 1 Second?

It isn\’t possible. The plugin does some validation, which force user to set idle time minimum 10. If left blank, it will take default time mentioned in General Settings tab.


03 December 2020
It’s simple, effective and works beautifully in 2020. Love that I can set it for specific roles and leave others. Cross site attacks (xss) that steal cookies to hack into WordPress is a very common problem. It’s the number 1 method for attacking wp sites. I cannot even remember how many times my testing sites have been hacked with this method. Install this plugin, and set the timeout to 5 min (300 sec). Do not disable for wp-admin. Set Administrator to be redirected to login, time 5 min (300 sec). No more cookie hijack hacking because they will have to re login.
21 October 2016
This plugin is no longer working properly. Tried it on my client’s site and it is super buggy. Just logs me out no matter what.
03 September 2016
This is a very helpful plugin for my purposes, and basically does as it says… I have made some suggestions I am hoping the developer will consider implementing, but want to give it five now…
Read all 17 reviews

Contributors & Developers

“Idle User Logout” is open source software. The following people have contributed to this plugin.


Translate “Idle User Logout” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • No changes are made. Just updated the version


  • Ensured WordPress 5.8.2 compatibility
  • Ensured PHP 8.0 compatibility
  • Updated timer library


  • Dev: Server end timer added – User will get kicked out even if they close the browser
  • Dev: Added session destory along with cookie
  • Ensured WordPress 4.6 compatibility


  • Fix: Minor JavaScript issues.
  • Ensured WordPress 4.3 compatibility


  • Fix: Minor issue while activating the plugin.


  • Feature: Added Idle Behavior for each user roles.


  • Fix: Mobile issue resolution


  • Fix: Plugin activation error resolution


  • Fix: Bug fixed in Firefox and IE

  • Added independent Settings UI


  • First Version