Market orientation and food security improvements of smallholder farmers are sometimes contradicting livelihood strategies. The F2M (‘Linking Farmers to Markets) project aimed at empowering farmers to get linked to organic markets while at the same time enhancing food security. The study investigates if the project contributed to change the food security behaviour of smallholder farmers to improve their food security situation. Attitudes and knowledge changes were the main domains to explore changes. Group discussions and individual structured interviews were conducted in Hoima, Western Uganda, with five target groups participating in the F2M project and four control groups. Results showed that there are significant differences between the two sample units. Changes in various indicators of availability (yields increased), access (income raised), utilisation (quality of food improved) and stability (food availability throughout the year increased) were observed. Differences in behaviour are mainly found in self-sufficiency, land use for food and cash crops, food composition and storage. F2M farmers, on average, grow more food by themselves, use less income to purchase food, consume a diverse diet and store more food. This was possible through more efficient land use and strong emphasis on food crops. Through the F2M project it was possible for F2M farmers to raise income and self-sufficiency at the same time. Raised income is left for non-food purposes, like education and health. Female farmers decide more often about cultivation and money spending. Nevertheless, gender equality is still challenging, especially regarding intra-household food allocation. The F2M project contributes to food security behaviour changes through knowledge and awareness raising trainings. F2M farmers could improve their ability to deal with food security constraints. Nevertheless, there are still numerous challenges farmers have to face, like sickness, weather changes, land scarcity, pests and diseases.