We report shotgun metagenomic sequence data from milk and fecal samples of dairy cattle in Thailand. This data set captures microbial genetic profiles from mammary- and gut-associated sample types and provides a resource for future comparative microbiome, functional, and antimicrobial resistance gene analyses in dairy cattle.