Affective state can bias an animal's judgement. Animals in positive affective states can interpret ambiguous cues more positively ("optimistically") than animals in negative affective states. Thus, judgement bias tests can determine an animal's affective state through their responses to ambiguous cues. We tested the effects of environmental complexity and stocking density on affective states of broiler chickens through a multimodal judgement bias test. Broilers were trained to approach reinforced locations signaled by one color and not to approach unreinforced locations signaled by a different color. Trained birds were tested for latencies to approach three ambiguous cues of intermediate color and location. Broilers discriminated between cues, with shorter latencies to approach ambiguous cues closest to the reinforced cue than cues closest to the unreinforced cue, validating the use of the test in this context. Broilers housed in high-complexity pens approached ambiguous cues faster than birds in low-complexity pens-an optimistic judgement bias, suggesting the former were in a more positive affective state. Broilers from high-density pens tended to approach all cues faster than birds from low-density pens, possibly because resource competition in their home pen increased food motivation. Overall, our study suggests that environmental complexity improves broilers' affective states, implying animal welfare benefits of environmental enrichment.