Psoriasis is an immune-mediated skin disease, closely related to immune regulation. The aim was to understand the pathogenesis of psoriasis further, reveal potential therapeutic targets, and provide new clues for its diagnosis, treatment, and prevention. Expression profiling data were obtained from the Gene Expression Omnibus (GEO) database for skin tissues from healthy population and psoriasis patients. Differentially expressed genes (DEGs) were selected for Gene Ontology (GO), Kyoto Encyclopedia of Genes and Genomes (KEGG), and Gene Set Enrichment Analysis (GSEA) analysis separately. Machine learning algorithms were used to obtain characteristic genes closely associated with psoriasis. Receiver operating characteristic (ROC) curve was used to assess the diagnostic value of the characteristic genes for psoriasis. The Cell-type Identification by Estimating Relative Subsets of RNA Transcripts (CIBERSORT) algorithm was used to calculate the proportion of immune cell infiltration. Correlation analysis was used to characterize the connection between gene expression and immune cell, Psoriasis Area and Severity Index (PASI). A total of 254 DEGs were identified in the psoriasis group, including 185 upregulated and 69 downregulated genes. GO was mainly enriched in cytokine-mediated signaling pathway, response to virus, and cytokine activity. KEGG was mainly focused on cytokine-cytokine receptor interaction and IL-17 signaling pathway. GSEA was mainly in chemokine signaling pathway and cytokine-cytokine receptor interaction. The machine learning algorithm screened nine characteristic genes C10orf99, GDA, FCHSD1, C12orf56, S100A7, INA, CHRNA9, IFI44, and CXCL9. In the validation set, the expressions of these nine genes increased in the psoriasis group, and the AUC values were all>0.9, consistent with those of the training set. The immune infiltration results showed increased proportions of macrophages, T cells, and neutrophils in the psoriasis group. The characteristic genes were positively or negatively correlated to varying degrees with T cells and macrophages. Nine characteristic genes were highly expressed in the moderate to severe psoriasis group and positively correlated with PASI scores. High levels of nine characteristic genes C10orf99, GDA, FCHSD1, C12orf56, S100A7, INA, CHRNA9, IFI44, and CXCL9 were risk factors for psoriasis, the differential expression of which was related to the regulation of immune system activity and PASI scores, affecting the proportions of different immune cells and promoting the occurrence and development of psoriasis.