This bioinformatics analysis highlights CXCR4, THY1, CCL20, and CD2 as crucial genes involved in the co-occurrence of UC and MASLD, providing insights into the underlying mechanisms of these two conditions. Here, CXCR4 is linked to metabolic dysfunction-associated steatotic liver disease.