Spatial judgement tasks can be used to asses affective valence in animals. Current experimental designs for pigs need to be improved. We developed a spatial go/no-go task with mild punishment and partial reinforcement. Pigs could be tested repeatedly and showed graded responses to graded probe cues. This experimental design is suitable for future studies on affective valence in pigs.