Aditya Suryavamshi

Firefox Open New Tab Next to Current Tab

Sept 06, 2026 Last Modified: Sept 06, 2026

If you have a lot of tabs open, it’s very irritating when you open a new tab with Ctrl + T only to have it be opened at the very end of your tabs. For a long time the way I used to work around this was to duplicate the tab that I was in and then change the URL .

Turns out there is a way to change this default behaviour in Firefox. Open about:config and change broser.tabs.insertAfterCurrent to true. This setting seems to also override browser.tabs.insertRelatedAfterCurrent, so if you have the browser.tabs.insertAfterCurrent set to true, this will also be true irrespective of it’s value.

browser.tabs.insertAfterCurrentExceptPinned will create new tabs next to current one except if the tab is pinned, in which case it would open them at the end of the tab list.

I still haven’t found a way to do this on mobile. I even tried manually creating and setting the flag on Firefox Android but it doesn’t work. There is an extension, but even that extension doesn’t work according to the developer, since the API tabs.move used in the extension isn’t supported on mobile.

This is valid as of Firefox 155.0.0