Stroke remained the leading cause of disability in the world, and the most important non-modifiable risk factor was age. The treatment of stroke for elder patients faced multiple difficulties due to its complicated pathogenesis and mechanism. Therefore, we aimed to identify the potential differentially expressed genes (DEGs) and singnalling pathways for aged people of stroke. To compare the DEGs in the aged rats with or without middle cerebral artery occlusion (MCAO) and to analyse the important genes and the key signaling pathways involved in the development of cerebral ischaemia in aged rats. The Gene Expression Omnibus (GEO) analysis tool was used to analyse the DEGs in the GSE166162 dataset of aged MCAO rats compared with aged sham rats. Differential expression analysis was performed in aged MCAO rats and sham rats using limma. In addition, the 74 DEGs (such as Fam111a, Lcn2, Spp1, Lgals3 and Gpnmb were up-regulated; Egr2, Nr4a3, Arc, Klf4 and Nr4a1 were down-regulated) and potential compounds corresponding to the top 20 core genes in the Protein-Protein Interaction (PPI) network was constructed using the STRING database (version 12.0). Among these 30 compounds, resveratrol, cannabidiol, honokiol, fucoxanthin, oleandrin and tyrosol were significantly enriched. These DEGs were subjected to Gene Ontology (GO) function analysis and Kyoto Encyclopedia of Genes and Genomes (KEGG) pathway enrichment analysis to determine the most significantly enriched pathway in aged MCAO rats. Moreover, innate immune response, the complement and coagulation cascades signaling pathway, the IL-17 and other signaling pathways were significantly correlated with the aged MCAO rats. Our study indicates that multiple genes and pathological processes involved in the aged people of stroke. The immune response might be the key pathway in the intervention of cerebral infarction in aged people.