Recent years have witnessed a tremendous development in shrimp farming around the world, which, however, has raised a variety of issues, possibly due to a lack of knowledge of shrimp behavior in farms. This study focused on the relationship between shrimp behavior and the various factors of natural farming environment through situ surveys, as distinguished from the majority of laboratory studies on shrimp behavior. In the survey, the behaviors of kuruma prawn (Penaeus japonicus) were investigated in the groups of swimming in the water, crawling on the sand, resting on the sand, and hiding in the sand, followed by the quantification of the sex ratio, water quality, density, and light intensity. The results showed the average proportions of resting, hiding, crawling, and swimming activities of 69.87%, 20.85%, 8.24%, and 1.04%, respectively, of P. japonicus. The behavior of hiding, resting, and crawling is significantly affected by the sex ratio of the shrimp (p < 0.05). The proportions of hiding behavior exhibited a negative connection with density and a positive connection with light intensity, while the proportions of resting behavior showed the opposite according to both Pearson correlation analysis and multiple linear regression analysis. The light intensity was the only factor that significantly influenced the swimming behavior, in which the probability of the swimming behavior was reduced from 48% to 5% when light intensity varied from 0 to 10 lx, as determined by the generalized linear model. It could be speculated that P. japonicus prefers a tranquil environment. Female shrimp might exhibit less aggression and more adventure compared to male shrimp. The findings suggested light intensity, followed by density, as the most crucial element influencing the behavior of P. japonicus in the culture environment. These findings will contribute to the comprehension of the behavior of P. japonicus and provide a novel perspective for the formulation of its culture management strategy.