Abnormal encoding of somatosensory modalities (ie, mechanical, cold, and heat) are a critical part of pathological pain states. Detailed phenotyping of patients’ responses to these modalities have raised hopes that analgesic treatments could one day be tailored to a patient’s phenotype. Such precise treatment would require a profound understanding of the underlying mechanisms of specific pain phenotypes at molecular, cellular, and circuitry levels. Although preclinical pain models have helped in that regard, the lack of a unified assay quantifying detailed mechanical, cold, and heat pain responses on the same scale precludes comparing how analgesic compounds act on different sensory phenotypes. The conflict avoidance assay is promising in that regard, but testing conditions require validation for its use with multiple modalities. In this study, we improve upon the conflict avoidance assay to provide a validated and detailed assessment of all 3 modalities within the same animal, in mice. We first optimized testing conditions to minimize the necessary amount of training and to reduce sex differences in performances. We then tested what range of stimuli produce dynamic stimulus-response relationships for different outcome measures in naive mice. We finally used this assay to show that nerve injury produces modality-specific sex differences in pain behavior. Our improved assay opens new avenues to study the basis of modality-specific abnormalities in pain behavior.Copyright © 2024 The Author(s). Published by Wolters Kluwer Health, Inc. on behalf of the International Association for the Study of Pain.