BACKGROUND: Patient management with lower-grade glioma (LGG) requires tumour sampling to identify IDH mutation and 1p19q codeletion status, which are pivotal for subtype classification and subsequent therapy. The use of MRI has been investigated so far by radiomics which focuses on features extracted from 2D images of the tumour region only. Deep Learning (DL) algorithms, and in particular Neural Networks (NN), proved to be effective in improving the detection of cancers from diverse imaging data, often through tumour segmentation masking. We aimed to develop a DL-based framework to streamline the LGG molecular-based subtypes classification from the whole-brain 3D MRI scans and, subsequently, to extract a fine map of the brain regions which resulted relevant for the classification. MATERIAL AND METHODS: Pre-operative MRI scans (T2-FLAIR, T1gad) and molecular information (IDH mutation, 1p19q codeletion status) of 82 LGG patients were collected from the TCIA and TCGA datasets. 56 “IDH-mutant astrocytomas” and 26 “IDH-mutant 1p19q codeleted oligodendrogliomas” were split into class-balanced training (65) and test (17) sets. A computational framework was developed to preprocess the MRIs, train and optimize different DL models through hyperparameters fine-tuning and to automatically detect the best-performing one. We explored a total of 162 configurations, using single and multiple MRI modalities within two residual NN and calculated the attention maps using guided back-propagation. RESULTS: In the test set we obtained a balanced accuracy of 92% and a F1-weighted score of 89% in differentiating IDH-mutant astrocytomas (sensitivity=0.83) from IDH-mutant 1p19q codeleted oligodendrogliomas (sensitivity=1). The generated attention maps confirmed that features extracted from the perilesional regions positively influenced the classification of the tumour subtypes, especially of astrocytomas (100% of cases); on the contrary, the widely used tumoral region was scarcely considered in the classification of this subtype (10%), having an impact only in oligodendrogliomas (60%). Interestingly, contralateral and other distant-from-the-tumour areas were relevant in the classification of both subtypes (40%), with a focus on distant-from-the-tumour areas in oligodendrogliomas (60%). CONCLUSION: 3D whole-brain scans coupled with optimized DL-based approach showed to be a non-invasive and promising alternative in classifying LGG molecular-based subtypes, providing a more exploratory insight in the subject-level discrimination of brain regions differently associated with IDH mutation and 1p19q codeletion status. Further validations are needed to prove the efficacy of the proposed method in supporting the clinical decision-making.