The skin mucosa of fish serves as a primary barrier against pathogens. In lesion sites in diseased fish, the mucosal barrier is expected to be compromised, with a substantial presence of potential pathogens. An understanding of the skin microbiome and its functional repertoire would provide important insights into host-microbe interactions, which has important implications for prophylactic measures in aquaculture. This study revealed the skin microbiomes and their functional annotations from healthy and diseased stinging catfish (Heteropneustes fossilis) based on 16S rRNA metagenomics. The OTUs consisted of four major phyla, Proteobacteria, Bacteroidota, Actinobacteriota and Firmicutes. Among members of the predominant phyla, Proteobacteria were rich in healthy fishes, but Bacteroidota and Firmicutes were significantly differentiated in healthy and diseased fish. The diversified microbiome was high in the skin of healthy fishes and did not significantly differ from that of the diseased groups. At the genus level, Pseudomonas showed the highest abundance in healthy fish but was nearly absent in diseased fish, whereas Flavobacterium showed the highest abundance in diseased fish. Linear discriminant analysis identified two phyla (Bacteroidota, Firmicutes) and two genera (Flavobacterium, Allorhizobium) that were consistently identified in diseased fishes. Functional prediction analysis specified that the genes related to physiological functions such as metabolism, immune and digestive systems and environmental adaptations could be highly expressed in diseased fishes. The present study indicates that the compositions, richness and functions of the bacterial community could influence the health status of cultured stinging catfish. Aquaculture-associated pathogenic bacteria may be identified, and preventive measures can be taken for the surveillance of fish health.