Purpose This study aims to identify factors affecting Generation Z (Gen-Z)’s online learning (OL) behavioural intention (BI) using the extended technology acceptance model by investigating gender differences in the BI of Indian students to adopt OL.Design/methodology/approach The proposed model was tested on 284 students from a higher education institution (HEI) in Gujarat, India, using the partial least square–structural equation modelling. Further, the subgroup analysis was conducted using Statistical Package for Social Sciences (SPSS) to determine male and female OL adoption variances.Findings Based on the research findings, all the constructs positively influence the BI of Gen-Z to adopt OL, except the influence of information technology infrastructure (INF) on perceived usefulness (PU). However, no substantial difference was observed in the BI adoption of OL amongst males and females. Also, when gender was kept as a moderator between computer self-efficacy (CSE) and PU, and INF and perceived ease of use (PEU), no substantial difference was observed in the OL of Gen-Z.Research limitations/implications The study will benefit HEIs and associated government departments from a deeper understanding of Gen-Z’s BI to speed up deployment and consider key elements essential while considering OL.Originality/value This article found major determinants of Gen-Z’s BI to adopt the OL in HEI. To the best of the author’s understanding, this is amongst the few studies to explore these ideas in the context of India. The uniqueness of the topic has been brought to light by the fact that “gender” has been employed as a moderator between attitude and BI, INF and PEU, and CSE and PU.