User Agents

Web browsers and everyday web tech, explained

Disable Touch Events in Chrome: Step-by-Step Guide

· 4 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Disabling touch events in Google Chrome allows you to simulate a non-touch environment, which is useful for web developers testing responsive designs or users troubleshooting unwanted touch input on hybrid devices. This guide shows how to disable touch events using Chrome's built-in Developer Tools, a reliable method that doesn’t require extensions or system-level changes. The process is temporary and resets when you close the browser or reload the page, making it safe and reversible.

What You'll Need

  • Google Chrome browser (version 100 or later recommended)
  • A keyboard and mouse (for desktop control)
  • A website open in Chrome to test touch behavior
  • Basic understanding of Chrome Developer Tools

Step-by-Step

  1. Open Google Chrome and navigate to the webpage where you want to disable touch events.
  2. Right-click anywhere on the page and select Inspect from the context menu. Alternatively, press Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac) to open Developer Tools.
  3. In the Developer Tools panel, click the three-dot menu (More Tools) in the top-right corner of the panel, then select Sensors from the dropdown. If Sensors is not visible, ensure Developer Tools is wide enough to show all options.
  4. In the Sensors panel, locate the Touch dropdown menu. By default, it is set to Default (touch enabled).
  5. Change the Touch setting to Force disable. This option disables all touch event listeners on the page, including touchstart, touchmove, and touchend.
  6. Refresh the page by pressing F5 or clicking the browser’s reload button. This ensures the change takes full effect.
  7. Test the page by attempting to interact with it using touch (if on a touchscreen device). No touch responses should register. On a non-touch device, simulate touch events via code or observe that touch-dependent scripts no longer trigger.
  8. To re-enable touch events, return to the Sensors panel and set Touch back to Default, then refresh the page.

Common Mistakes

One frequent error is forgetting to refresh the page after changing the touch setting. Chrome applies the new sensor state only on page load, so skipping this step means touch events may still function. Another mistake is misidentifying the Sensors panel—some users confuse it with Device Toolbar or Network conditions. Ensure you are in the correct panel by checking the label at the top. Developers sometimes assume the setting persists across tabs or sessions, but it resets when the tab closes. Also, selecting Mobile device mode does not automatically disable touch; you must manually set the Touch option to Force disable.

Tips

To speed up access, pin Developer Tools to the right or bottom of the browser window. Use Ctrl+Shift+M to toggle Device Toolbar, which helps simulate mobile views alongside touch settings. Combine touch disabling with user agent overrides to fully mimic a desktop environment. For frequent use, bookmark a test page with touch-dependent elements, such as a swipe carousel or touch drag interface. If debugging JavaScript, use console.log('touchstart') in event handlers to verify when touch events are blocked. Remember, Force disable prevents the browser from dispatching touch events entirely, so scripts relying on them will not execute.

Troubleshooting

If touch events still fire after setting Force disable, first confirm you refreshed the page. If the issue persists, check that no browser extensions are injecting touch support—disable extensions temporarily to test. On some Windows laptops, the operating system may send touch input at the driver level, which Chrome cannot override; in such cases, disable the touchscreen via Device Manager. If the Sensors panel is missing, ensure Chrome is updated—older versions may lack this feature or place it under More Tools > Rendering. In rare cases, hardware acceleration can interfere; try disabling it in Chrome Settings > System > Use hardware acceleration when available, then restart Chrome. If touch events are disabled but mouse events also fail, verify that your page isn’t using touch events as a fallback—some scripts incorrectly assume touch devices lack mouse input.

Frequently Asked Questions

Does disabling touch in Chrome affect the entire browser?

No, the setting applies only to the current tab and session. Other tabs and windows remain unaffected.

Can I disable touch permanently in Chrome?

There is no built-in permanent setting. The change resets when you close the tab. For persistent control, consider using command-line flags like --simulate-touch-screen-with-mouse or third-party tools, but these are not recommended for general users.

Why can I still scroll with touch after disabling it?

Chrome’s touch scroll behavior is handled at the OS level in some cases. Disabling touch events in Developer Tools stops JavaScript touch events but may not block native scrolling. Use touch-action: none in CSS to prevent scrolling on specific elements.

Does this work on Chrome for Android?

No, the Sensors panel is not available on mobile Chrome. This method is designed for desktop Chrome only.

Will disabling touch break website functionality?

Yes, websites relying on touch events (e.g., mobile menus, gesture swipes) may not work correctly. Use this setting only for testing, not regular browsing.

Is this method safe?

Yes, it’s completely safe. It doesn’t modify system settings or install software. Changes are temporary and isolated to one tab.