Reactive oxygen species (ROS) play key roles in many physiological processes. In particular, the sterilization mechanism of bacteria using ROS in macrophages is a very important function for biological defense. Xanthine dehydrogenase (XDH) and aldehyde oxidase (AOX), members of the molybdo-flavoenzyme subfamily, are known to generate ROS. Although these enzymes occur in many vertebrates, some insects, and plants, little research has been conducted on XDHs and AOXs in crustaceans. Here, we cloned the entire cDNA sequences of XDH (MjXDH: 4328 bp) and AOX (MjAOX: 4425 bp) from Marsupenaeus japonicus (kuruma shrimp) using reverse transcriptase-polymerase chain reaction (RT-PCR) and random amplification of cDNA ends (RACE). Quantitative real-time RT-PCR transcriptional analysis revealed that MjXDH mRNA is highly expressed in heart and stomach tissues, whereas MjAOX mRNA is highly expressed in the lymphoid organ and intestinal tissues. Furthermore, expression of MjAOX was determined to be up-regulated in the lymphoid organ in response to Vibrio penaeicida at 48 and 72 h after injection; in contrast, hydrogen peroxide (HO) concentrations increased significantly at 6, 12, 48, and 72 h after injection with white spot syndrome virus (WSSV) and at 72 h after injection with V. penaeicida. To the best of our knowledge, this study is the first to have identified and cloned XDH and AOX from a crustacean species.