Introduction

Urbanisation is one of the most significant environmental changes that has reshaped the world in the last two centuries [1, 2]. Approximately 55% of the world’s population currently lives in urban areas, and this figure is expected to rise to 60% in 2030 and 68% by 2050 [3]. Rapid urbanisation in low- and middle-income countries (LMICs) has occurred without concomitant infrastructure development, resulting in urban slums [2]. According to United Nations Habitat, one-third of people in urban areas in LMICs live in slums [3]. However, in Africa, 62% of the total population live in slums [4]. The explosion of urban slums particularly in LMICs creates many challenges, including overcrowding, lack of essential services, substandard housing, restricted access to healthcare, unsafe water and inadequate nutrition and sanitation [5]. Some of the nutritional vulnerabilities are due to insufficient food supply as well as the high cost of food staples and the low purchasing abilities of the residents [6,7,8], putting them at a greater risk of food insecurity [9].

Food security is a social determinant of health and a sustainable development goal (SDG). Goal 2 of the 2030 Agenda for Sustainable Development set by the United Nations in 2015 aims to “eradicate hunger” and “ensure access by all people, including the poor and vulnerable people, to safe, nutritious and sufficient food all year round” (SDG Target 2.1) and to “eradicate all forms of malnutrition by 2030” (SDG Target 2.2) [10]. Food insecurity was defined at the 1996 World Food Summit as “the lack of physical, social and economic access to sufficient, safe and nutritious food for an active and healthy life” [11]. Food insecurity currently affects 10% of the global population; however, one-third of people living in Africa are burdened with severe food insecurity [12]. A study by the African Food Security Urban Network (AFSUN) revealed that only 17% of African households were food secure, while 57% to 70% were severely food insecure [13]. In 2021, 70% of Africans experienced moderate to severe food insecurity [14]. In 2014, almost 85% of slum residents in Nairobi, Kenya were food insecure, with 50% being severely food insecure [9]. Similarly, an 81% prevalence of food insecurity was found among 230 sampled urban slum dwellers in Ibadan, Nigeria in 2018 [15].

Generally, people living with food insecurity have an increased risk of developing different adverse health outcomes [16]. A systematic review and meta-analysis of non-communicable diseases (NCDs) modifiable by diet in sub-Saharan Africa showed a compelling association of household food insecurity with key metabolic risk factors, such as malnutrition, overweight, obesity, dyslipidaemia, hypertension, underweight and micronutrient deficiencies [16]. Individuals with food insecurity tend to purchase and consume low-cost, less varied, nutrient-poor and calorie-dense foods, making them vulnerable to the double burden of malnutrition and NCDs [17]. Children living in food-insecure households are frequently stunted and malnourished [18, 19].

Members of households who cannot access enough food employ specific behavioural coping strategies to adapt to food insufficiency. For example, some may make restrictive alterations of the food they consume, while might engage in socially unacceptable, negative or shameful activities [20]. Such behaviours include reducing the quantity and quality of food consumed, rationing food among family members according to different sentiments or privileges at the expense of others, begging, skipping meals due to a lack of money or borrowing from friends and neighbours. These behavioural responses are proxy indicators for household food access and food insecurity [21].

The food environment is defined as the physical and social interface between the consumer and the food system that encompasses the availability, affordability, convenience and desirability of different foods items [22]. Urbanisation and the nutrition transition in LMICs are changing the food environment and influencing household food access. Food sources impact household diet quality, nutrition and health [17]. In urban Africa, traditional open markets remain the primary sources for food purchasing [23]. However, the incursion of supermarkets and hypermarkets into the urban food environment has led to a higher intake of ultra-processed and lower-quality foods [24,25,26]. Food procurement is influenced by food availability and access, and eating a healthy diet is difficult without access to healthy foods [23, 25]. Food purchasing patterns provide insights into household dietary intake; however, these are influenced by a complex interplay between nutrition literacy, personal preferences and the food environment [27]. Appelhans et al. demonstrated that household food purchases are an unbiased estimate of household diet quality, although they are less accurate for determining specific nutrient intake [28]. Unable to produce most of the food they consume, urban dwellers are less self-sufficient than those living in rural environments as they are dependent on food purchasing [29]. Therefore, their diet quality is more dependent on fluctuating food prices and changes in the global food environment [30].

Although access to food is a basic human right, people living in urban slums are at a higher risk of inadequate access to quality and highly nutritious food item due to lack of physical and economic access to buy healthy food [31]. Despite the high prevalence of food insecurity across urban cities in sub-Saharan Africa [9, 13, 32], very few studies have been conducted among vulnerable slum dwellers in Nigeria [15, 33]. Therefore, it is essential to explore more deeply the perceptions and interactions of these households with the food environment to provide recommendations for relevant interventions to improve access to healthy food options and address food security in these communities. Hence, this study aimed to assess the relationship between food insecurity, including restrictive coping strategies, and household purchasing patterns and perceptions of access to the food environment in two selected urban slums in Ibadan, Southwest Nigeria.

Materials and methods

Study design and setting

This cross-sectional study was conducted in two urban slums of Ibadan, Oyo State, Nigeria. Ibadan is the capital of Oyo State, located in the southwest geo-political zone of Nigeria. Ibadan, the most populous city in Oyo State is home to twelve identifiable urban slums due to rapid unplanned urbanisation [34]. Two of these slums, Idikan and Sasa, were selected as the study sites as they are typical of inner-city slums and because of an existing relationship with the University of Ibadan that includes a data collection infrastructure. All structures in both study sites were geo-mapped using satellite imagery for an earlier study [35, 36]. The two slums are located approximately seven kilometres (km) from each other. Idikan is a low-income traditional community located in the city core. It has 1617 households and a population of 13,000 inhabitants [37]. The inhabitants are mostly Yoruba, the main ethnic group in Oyo State, and predominantly traders and artisans. In contrast, Sasa is a fourth generation resettled migrant community inhabited primarily by ethnic Hausa–Fulani Muslims from northern Nigeria. It is located on the city’s periphery. It has 1755 households, with a population of approximately 8,000 inhabitants. The two slums are characterised by high poverty rates, poor housing, limited infrastructure such as non-potable water and problematic waste disposal, high levels of violence and insecurity, unemployment and poor health indicators [35].

Sampling and participant recruitment

All residential dwellings in each slum formed the sampling frame for the survey. The street listings were used to draw a random list of streets, after which computer-generated random numbers were used to select individual houses per street until the sample size 590 was reached. If there was more than one household within the same residential dwelling, one was randomly selected for sampling. The adult most responsible for household food purchases was chosen as the informant in each identified household. Any eligible respondent who could not be found at home was revisited at least twice before moving to the next dwelling house to the right of the selected house. Six dwellings were replaced when no one in that household could be contacted.

Sample size

The sample size was determined using the Leslie Kish formula N = Z2pq/d2 [38] where N = sample size; Z = confidence level (which was taken as 95% with a degree of probability of 1.96%); p = total prevalence of food insecurity taken as 85.0% [9]; q = 1.0 – p; and, d2 = level of precision, assumed to be 3%. A total of N = 544 was thus calculated, and an anticipated nonresponse rate of 10% was added (+ 54). The final sample of 590 households was recruited from the two study sites. With a sample size of 590, this study has a power of 90% to detect a significant difference in perceptions about the accessibility of the food environment between food-secure and severely food-insecure participants (at a significance level of 5%).

Data collection

A total of 590 respondents, who were mainly responsible for food procurement, were interviewed face-to-face by a single research assistant using a structured questionnaire (the survey instrument). Data were captured on Android tablet devices with Open Data Kit (ODK) software. ODK is a mobile technology developed at the University of Washington that permits offline data collection and uploads all submissions once the device is connected to the internet [39]. The first author (TI) recruited four postgraduate master’s students in Public Health at the University of Ibadan as data collectors for this study. They underwent training on the objectives of the study, communication skills, obtaining informed consent, administering the questionnaires, taking anthropometric measurements and maintaining ethical standards. The training also included capturing data using the software and uploading data onto the server after collection.

Survey instrument

The questionnaire consisted of respondents’ sociodemographic and household characteristics, the Household Food Insecurity Access Scale (HFIAS) [40] and the Coping Strategies Index (CSI) [21]. The HFIAS and CSI are validated instruments used in other African countries, including Nigeria, with good internal consistency [7, 41, 42]. In addition, the survey instrument also assessed patterns of household food procurement and perceptions about the accessibility of the food environment in the slum settings. Lastly, measures of the respondents’ body mass index (BMI) were recorded. The investigators developed the questionnaire following an extensive literature review and previous practice experience [26, 43].

The instrument was translated to Yoruba and Hausa, the commonly spoken languages in the study sites and back translated to English to ensure the original meanings of the questions were retained. Feedback from the pilot study were used to modify the questionnaires to eliminate response ambiguity.

Measures

The outcome variable for this study was the household food insecurity score assessed using the HFIAS developed by Food and Nutrition Technical Assistance (FANTA) and funded by United States Agency for International Development (USAID) [40]. Nine frequency-of-occurrence questions measured both food security and three gradients of food insecurity over the past 30 days. Possible responses to each question included whether the condition occurred rarely (once or twice), sometimes (three to ten times) or often (more than ten times). A Likert scale of ‘never' (a score of 0), 'rarely' (scored 1),'sometimes' (scored 2) and 'often' (scored 3) was then assigned and summed. The lowest possible score was 0, indicating that a household is food secure, with the highest score of 27, indicating a severely food-insecure household. The cut scores for the four categories are 0–1 (food-secure), mildly food insecure (2–7), moderately food insecure (8–14) and severely food insecure [44]. In this sample, the Cronbach’s alpha for the HFIAS was 0.94. While we report all four categories, for analysis purposes, the mildly food insecure households were merged with food secure households and re-categorized as food secure due to the small frequency of both categories. Hence, only three categories were used for further statistical analysis: ‘food secure’ representing the initial ‘food secure’ and ‘mildly insecure’ categories; ‘moderately’ food insecure; and ‘severely food insecure’. In the regression analyses, however, responses were dichotomized into either food-secure or food-insecure households.

Household food coping behaviours were assessed using the Coping Strategies Index (CSI) [21], a proxy indicator of food insecurity. The CSI contains questions on how members of the household respond to food inadequacies. The CSI was calculated using information on how often a household used a set of eleven food-based coping strategies in the last 30 days. The frequency of occurrences (the relative frequency categories) was a measure of how many days in a week a household had to rely on the various restrictive coping strategies, ranging from “never” to “every day”. The possible responses for each of the eleven coping strategies (frequency of occurrences) in a week were as follows: ‘never’; ‘hardly at all’ (< 1 day per week); ‘once in a while’ (1–2 days per week); ‘pretty often’ (3–6 days per week) and ‘daily’ and were scored according to the midpoint value of the range of each category. Based on the community context, we weighted certain behaviours according to their social undesirability. For example, the strategy to “send household members to beg” scored an 8, while “rely on less preferred and less expensive foods” weighed 2 points. The more undesirable a behaviour, the higher the assigned weighting score. The composite score was then calculated as the frequency with which each coping strategy is used multiplied by its severity weight. The weighted product summation of the coping strategies gives the CSI composite score, which was subsequently categorized into low (0–50), medium (51–100) and high (over 100). The Cronbach’s alpha of the CSI in this sample was 0.85.

Explanatory Variables

Availability, affordability and quality: a composite score of participants’ perceptions of the food environment

Access to food in the respondents’ food environment was assessed through the perceived availability, affordability and quality of food choices. We created a five-item self-report questionnaire for this study from the relevant literature [26, 43] to determine the perception of accessibility to food in the community. The first author drafted the initial pool of questions to assess accessibility to the food environment. This initial pool of questions was reviewed and assessed for face validity by the other two authors, academic scholars with public health expertise. Accessibility to the food environment was gauged by asking respondents about their ability to “do most of their food shopping at stores close to their house”; “if the food markets in their neighbourhood offer a wide variety of food items”; and, if the food products sold in their neighbourhood “are usually fresh” and are “sold at lowest selling price”. Finally, we inquired about “food vendors selling prepared foods”. We created a scoring system using a 5-point Likert scale, with responses of “Strongly Disagree”, “Disagree”, “Neutral”, “Agree” or “Strongly Agree” scored from 1 to 5. After summing these responses, a “composite score of the perceptions of the food environment” was reported, with a maximum possible score of 25 indicating highly positive perceptions of the food environment, with the lowest possible score of 5. Exploratory Factor Analysis (EFA) was used to validate the underlying constructs of the perceptions of the food environment scale that was created for this study. Principal components analysis was used because the primary purpose was to identify and compute composite scores for the factors underlying the accessibility of the food environment. Eigenvalues showed that one factor accounted for 42% of the variance and that there were no other factors. Items in this analysis had factor loadings over 0.30 with four having factor loadings above 0.50 (Supplementary Table 1). The composite score of the five items had a mean of 18.1 with a SD of 3.2. The skewness was -0.27 and the kurtosis was 3.7. The internal consistency was satisfactory, with a Cronbach’s alpha of 0.66.

The food purchasing patterns of households were assessed by inquiring about what foods were bought from the different food groups (grains, roots and tubers, legumes, vegetables, fruits, animal protein, dairy products, and ultra-processed foods) adapted from the dietary diversity index [40]. The frequency of purchase was also assessed, with responses ranging from never (< 1 per week) to sometimes (1–2 per week) and often (3–7 times per week). The tool also assessed from which type of vendors (formal food market, informal food market, supermarkets, and wholesalers) purchases were made.

The food outlets were described as follows: i) formal market: a public open-air market where food is sold by local vendors; ii) informal market: street vendors that sell a small selection of food and other goods; iii) supermarket: a large store selling a variety of food and household items at retail prices; and, iv) wholesale store: stores that sell different categories of food items at wholesale prices.

Sociodemographic characteristics

Sociodemographic characteristics of the respondent, who was the person most responsible for food procurement in the household, included age, gender, educational status, marital status and type (monogamous/polygamous), household size, money spent on food weekly and wealth index. The household wealth index was calculated using principal component analysis from information collected about housing quality (floors and wall material), type of cooking fuel and ownership of modern household assets using the 11-item Equity Tool. The Equity Tool is a country-specific wealth index variable based on the Demographic and Health Survey [45]. Questions such as: “What is the main material of the walls and floors in your house?”; “Does your household have electricity, fan, television, refrigerator, generating set, or cable TV?”; “What type of fuel does your household mainly use for cooking?”; and “Does any member of your household have a bank account?” were asked. The Equity Tool was scored into five quintiles. However, due to small cell numbers, we merged these five categories into three for analysis: the lowest category being “poorer”, the middle category being “moderate”, and the highest category being “wealthier”.

Body Mass Index (BMI)

BMI was calculated using body weight (kg)/height (m2). The weight and height of each respondent were measured according to standard protocols. Weight was measured in 0.1 kg by use of the Omron® electronic bathroom weighing scale. Height was measured to the nearest 0.1 m using a stadiometer. Cut points of < 18.50, 25.00–29.99, and > 30 kg/m2 were used for underweight, overweight and obesity, respectively. Normal BMI was between 18.5 and 24.9 kg/m2.

Data analysis

After coding, data were entered, cleaned and analysed using STATA Version 15.0 software (Stata Corp., College Station, TX, USA). The sociodemographic characteristics of respondents and households within each food (in)security category were described using frequencies and percentages. Descriptive statistics were used for categorical variables such as food sources and purchasing patterns, while means and standard deviations (SDs) were used to summarise perceived perceptions of the food environment scores. Chi-square tests determined the relationship between the coping strategies of food-secure and food-insecure households and assessed the relationships between HFIAS and sociodemographic characteristics. One-way ANOVA was used to determine the association between HFIAS, and perceptions of the food environment scores, and post hoc analysis (Bonferroni) was used to assess the distribution of the scores across the three levels of food insecurity. A binary logistic regression analysis model was built to assess the adjusted odds ratio (AOR) and 95% confidence interval (CI) for the association between HFIAS status and perceived access to the food environment while controlling for sociodemographic variables that were statistically significant in the univariate analyses. Multivariate ordinal logistic regression was used to model the relationship between the frequency of food purchased across the three levels of food security. The level of significance for all analyses was set with a p-value less than 0.05.

Results

A total of 590 adults who were most responsible for purchasing food for their households were interviewed. This indicated a response rate of 100%, which is not uncommon in this study setting [33]. Approximately one-third (35%) of the respondents were household heads, while 60.7% were the spouses of household heads. Table 1 summarises the sociodemographic characteristics of the respondents and their households. Approximately 85% of respondents were between the ages of 18 and 59, with an average age of 42.3 ± 14.4 years. Most respondents (88.3%) were women, and 73.4% were married. Seventy-two per cent (72.0%) of the married respondents were in monogamous marriages. The mean household size was 4.8 ± 2.4, with approximately one-third (30.4%) of households falling into the poorer wealth index. Almost two-thirds (59.7%) of respondents had completed secondary school. The majority (80.7%) of the household heads were engaged in paid manual labour. Most respondents (83.9%) earned less than ₦50,000 per month (equivalent to USD131 at the time of the study) [46]; and 50.2% of respondents spent less than ₦5000 (USD13) weekly on food. The mean BMI of participants was 24.2 (SD ± 5.4), with 10% of the sample underweight and 11.9% obese, suggesting the presence of the double burden of malnutrition.

Table 1 Socio-demographic characteristics of the respondents

Prevalence of household food insecurity

Findings from this study revealed that only 12% of the surveyed households were food secure. All the other households experienced some degree of food insecurity, with 40.2% experiencing severe food insecurity, 35.4% experiencing moderate food insecurity and 12.4% experiencing mild food insecurity (Fig. 1).

Fig. 1
figure 1

Prevalence of household food insecurity as measured by the HFIAS

Restrictive coping strategies

The three most common restrictive coping strategies to deal with food insecurity were to limit portion size at mealtimes (32.5%), ration the money at hand, buy prepared food (29.3%) and reduce the number of meals eaten in a day (28.8%). Adults also limited their consumption so that small children could eat (19.3%). Other coping strategies, such as skipping entire day without eating (5.6%), borrowing food or relying on friends or relatives (5.6%), sending household members to eat elsewhere (2.4%) and begging (1.7%), were practised less often (Fig. 2).

Fig. 2
figure 2

Coping strategies index

Association between food insecurity and respondents’ perceptions of the food environment: availability, affordability and quality of food

Table 2 demonstrates that favourable perceived accessibility to the food environment was significantly associated with greater food security. The food-secure households had higher composite scores (mean ± SD) of perceptions of the food environment (18.94 ± 3.9) than the moderately (17.9 ± 3.0) and severely (17.8 ± 2.8) food-insecure (p = 0.001). A significantly higher proportion of the respondents (n = 527; 89.3%), agreed that the food markets in their neighbourhood offered a wide variety of food items. Additionally, 86.8% (n = 512) of the respondents agreed that they could do most of their food shopping near their homes. Most respondents agreed that the food products sold in their neighbourhood were usually fresh (n = 489; 82.9%), with higher proportions of food-secure respondents (n = 125; 86.8%) agreeing with this item, compared to 81.8% (n = 171) and 81.4% (n = 193) of moderately and severely food-insecure respondents, respectively. Nearly two-thirds of the respondents (n = 380; 64.4%) disagreed that foods were sold at the lowest selling price, which was endorsed more by the severely food insecure respondents (n = 172; 72.6%) (p < 0.001). The vast majority of respondents (n = 536; 90.8%) agreed that there were many options for food vendors selling prepared foods. Household food production, whether growing vegetables (p = 0.95) or keeping livestock (p = 0.99), was not significantly associated with food security. Food-insecure households were less likely to own a refrigerator; moreover, owning a refrigerator was significantly associated with food security (p =  < 0.001) (Table 2).

Table 2 Association between household food insecurity and respondents’ perceptions of accessibility of the food environment and quality of food

One-way ANOVA showed a statistically significant difference in the perceived food environment across the three levels of food insecurity (F = 6.039, p = 0.003). Post hoc analysis (Bonferroni) showed that food-secure participants have a significantly higher perception of the food environment than moderately food-insecure (p = 0.09) and severely food-insecure participants (p = 0.04). However, there was no statistical difference in the perceptions of the food environment between moderately and severely food-insecure participants (p = 1.00) (Table 3).

Table 3 Post-hoc analysis of the relationship between food security and the perception of the accessibility of the food environment

Factors associated with household food insecurity following logistic regression analysis

Food insecurity was significantly associated with being age 40–59 years, having only primary education, larger household size (eight members and above) and not owning a refrigerator (p = 0.001) (Table 4). Respondents at different food insecurity levels did not differ significantly by gender (p = 0.40) or marital status (p = 0.3) nor by location (p = 0.150).

Table 4 Univariate and multivariate analysis of food insecurity in households and the composite perception of the food environment score

In the multiple regression model (Table 4), households that were food insecure had lower perceived access to the food environment, with an approximately 10% increase in access score per one-unit decrease in food insecurity (AOR = 0.90 (95% CI: 0.84, 0.96)). Respondents who did not own refrigerators had higher odds of being food insecure (AOR = 1.69 (95% CI: 1.99, 2.87). Respondents aged 40–49 had an adjusted OR = 2.32 (95% CI: 1.16, 4.67) and those 50–59 had an adjusted OR = 2.05 (95% CI: 1.02, 4.12) compared to those 18–29 years, doubling the odds of being food insecure.

Respondents with primary education were four times more likely to be food insecure than those without formal education (AOR = 4.45 (95% CI: 2.14, 9.51)). The odds of food insecurity among households with large family sizes (≥ 8) were nearly six times higher than those of households with fewer than three family members (AOR = 5.81 (95% CI = 2.04, 16.54)).

Food purchasing behaviours

Table 5 indicates that there was a high reliance on traditional formal food markets (58.6%) and informal street markets (45.1%) for daily food procurement, with only approximately 1.2% of respondents purchasing food items from supermarkets often. Less than 10% of respondents frequently sourced their foods from wholesalers, indicating an inability to buy in bulk.

Table 5 Frequency of purchase from different types of food vendors

Association between household food insecurity and frequency of types of food purchased

Table 6 shows that processed carbohydrates such as white rice and bread (61.7%), animal proteins (72.9%), vegetables (66.8%) and fruits (60.2%) were the most frequently purchased items by households across all levels of food security. Starchy staples such as yam and cassava and their flours (21.9%), legumes such as beans and nuts (57.8%) and milk and milk products (46.8%) were purchased slightly less frequently (weekly/monthly). Although food-secure households purchased complex carbohydrates (roots and tubers), vegetable proteins (beans and nuts), fruits, leafy vegetables and milk and dairy products more frequently, ultra-processed foods such as sweets, ice cream, and sugar-sweetened beverages were purchased rarely.

Table 6 Association between household food insecurity and frequency of types of food purchased

Multivariate ordinal logistic regression analysis of the relationship between types of food purchased and food insecurity

In the multivariate ordinal logistic regression (Table 7), monthly purchase of processed grains was associated with five times lower odds of food insecurity than daily purchase (OR: (95% CI: 0.16 – 0.75). Monthly (OR: 2.48 (95% CI: 1.28 – 4.78)) and rarely (OR: 3.74 (95% CI: 1.74 – 8.06)) purchasing of fruits and vegetables were also significantly associated with higher odds of food insecurity compared to daily. However, there are nearly two times higher odds of food insecurity amongst those who purchased animal protein weekly than those who purchased it daily (OR: 1.76 (95% CI: 1.13 – 2.73). Rare purchase of ultra-processed foods was significantly associated with higher odds of food insecurity (OR: 2.19 (95% CI: 1.18 – 4.08)).

Table 7 Multivariate ordinal logistic regression analysis of the relationship between types of food purchased and food insecurity

Discussion

There were high levels of food insecurity among households in two urban slums in Ibadan, with 40.2% experiencing severe food insecurity. This was also reflected in the adoption of restrictive coping strategies by participants. Households with poorer perceptions of the food environment, including the availability, affordability and quality of food, were more likely to experience food insecurity in this study. Most households frequently purchased traditional staples such as rice, yam, cassava flour, beans and other legumes regardless of their level of food insecurity. However, food-insecure households relied more heavily on processed carbohydrates such as rice and bread and bought these foods frequently (daily or weekly). Food-secure households were significantly more likely to purchase fruits, vegetables and dairy products, often daily. The majority of households rarely purchased ultra-processed foods such as sugar-sweetened drinks, sweets or ice cream but food secure households did so more often than food insecure households.

The high prevalence of food insecurity observed in this study is consistent with previous studies in Africa [9, 15, 47, 48] and strikingly similar to the 81% food insecurity prevalence found in urban slum households in Ibadan, Nigeria, which also employed the HFIAS [15]. Furthermore, maladaptive coping strategies were employed to manage limited access to food. The restrictive coping strategies most commonly used were reducing portion sizes at mealtimes and reducing the number of meals eaten in a day. Households with severe food insecurity adopted more stigmatised coping strategies such as sending household members to eat elsewhere or beg for food. These patterns were similar to studies conducted in Bangladesh and Ethiopia [49, 50].

Our study showed that few households had vegetable gardens or kept livestock. Urban slums may not be conducive to maintaining gardens, as was reported in urban South Africa, where only 2.3% of low-income households grew their own food [13]. Traditionally, residents of Ibadan urban slums were farmers. However, as urban dwellers they no longer engaged in growing food due to limited arable land and instead depended on purchasing food to meet their dietary needs [33]. A systematic review by Warren et al. assessed the association between urban agriculture and food insecurity with mixed results [51]. The review reported that some studies found that households with home gardens were able to prevent hunger, increase dietary diversity and reduce rates of childhood stunting; however, others did not report these associations [51].

Most household food security was a function of the purchasing abilities of the residents in our study, with formal and informal markets closest to the home being the primary sources of food procurement. Few residents shopped in supermarkets or in wholesale shops. Our study revealed that households with positive perceptions of the food environment were less likely to be food insecure. The moderate and severe food insecure households perceived neighbourhood food markets as not very affordable with a lower quality of food. Previous studies showed that regular acquisition of minimally processed foods was associated with the perceived availability of fresh produce in the neighbourhood [52, 53]. Similarly, a systematic review of the local food environment and diet revealed that households that reported easy access to supermarkets consumed more portions of fruits and vegetables than those with poorer access [27]. Similar studies documented an association between perceived food access and consumption of fruits and vegetables [42, 54].

Chen et al., in a systematic review of 20 epidemiological studies in 2020, concluded that there was a strong association between the consumption of ultra-processed foods and cardiovascular diseases [55]. In the slum settings in Ibadan, ultra-processed food such as ice cream and soft drinks were purchased infrequently but food secure households purchased these products to a greater extent that food insecure households. This pattern may become more pronounced with marketing as has been seen in other settings [56]. Future research in these settings needs to explore the effects of food marketing especially of processed and ultra-processed food to better understand this phenomenon.

Although both food-secure and food-insecure households frequently purchased traditional staple foods such as maize, cassava and yams as well as processed grains such as rice and bread, food-insecure households bought processed carbohydrates (rice and bread) more often. Research from Mozambique, the Philippines and Canada [57,58,59,60] similarly revealed how families that are unable to grow their own food and have limited income to purchase food are likely to opt for the cheapest cost per calorie from the available choices. In our study, food-secure households were significantly more likely to purchase dairy products, a variety of fresh vegetables and fruits and did so more often. This suggests that with greater relative affluence, there is greater food diversity. Of potential concern, however, is that food secure households purchased ultra-processed foods more commonly suggesting a possible shift in patterns that have been seen elsewhere. Similar shifts were observed in urban areas of some LMICs that are undergoing a nutrition transition [57,58,59,60]. Recent evidence suggests that these changes in dietary patterns result in rising levels of obesity among people experiencing poverty with attendant adverse health implications [61].

Traditional food staples such as maize, cassava and yams remain rich sources of essential micronutrients, are low in glycaemic index, high in dietary fibre and protective against gastrointestinal cancers [62]. Evidence from a systematic review and meta-analysis indicated that a higher dietary fibre intake was associated with a 15–30% reduction in mortality from cardiovascular diseases (CVD), and a reduced incidence of NCDs and colorectal cancers [54]. These traditional staples are also low in saturated fat, sugar and salt, reducing the risk of cardiovascular diseases [63, 64].

Severely food insecure households shopped more frequently which could result in a vicious cycle of poverty because so much time is spent purchasing food daily, leaving little time to engage in income-generating activities to improve food security. Although a regular supply of electricity is a challenge in Nigeria [65], ownership of refrigerators was protective against food insecurity in the study areas. Half of the food-secure households had refrigerators, enabling them to buy and store perishable foods such as vegetables and fruits, thereby improving access. These patterns were similar to those reported by Spieker et.al in seven slum sites across Nigeria, Kenya, Pakistan and Bangladesh [33].

Many African cities are undergoing major shifts in the food environment with the emergence of supermarkets selling a wide variety of food products in urban areas to consumers [13, 66]. However, these food stores are usually located in higher-income areas and are not within the reach of many urban poor [67, 68]. As observed in this study, very few urban slum dwellers shopped in supermarkets. Although one study from Kenya found supermarkets to be sources of healthy food options [24], other studies in a systematic review revealed that frequent exposure to supermarkets may increase the consumption of ultra-processed foods [27, 28]. Living in residential areas with more supermarkets and fast food restaurants close to households was significantly associated with increased intake of unhealthy food in Australia [69]. However, due to the limited access to these supermarkets in our study, many residents relied on smaller formal and informal markets for their household food needs. These informal markets sell traditional local food staples and fresh healthy food choices such as meat, fish, fruits and vegetables. Although a study in Vietnam expressed concern about the safety and quality of foods sold in informal food markets [25], they remain a major food source in urban slums because of their availability and easy accessibility [67]. These markets and informal stores allow shoppers to bargain and offer credit facilities to familiar customers while operating flexibly, which in South Africa sometimes involved opening for extended hours [70].

Strengths and limitations of this research

The strength of this research was to provide insights into food purchasing behaviours across different levels of food insecurity in urban slums as well as highlight perceptions of the food environment. However, this study was cross-sectional, thereby limiting the ability to investigate temporal relationships and draw causal inferences. Since the survey data were collected via self-reported measures, it is possible that there was recall bias. Additionally, respondents could have given socially acceptable responses or underreported socially undesirable events. In this study, participants were asked questions on the frequency of purchases without measuring the quantities of food bought or consumed. The measure developed to assess perceptions of the food environment should ideally be validated in future studies with different populations.

Recommendations

This research could be used to inform a variety of interventions to improve patterns of food purchasing in urban slum environments. Food-insecure households less frequently purchased plant-based proteins. Vegetable-based proteins are cheaper, with lower-caloric density and less fats and cholesterol, providing a healthy alternative to animal proteins and should be encouraged among the residents.

Household income in this study was low. Local government authorities could implement social protection mechanisms and initiatives to improve livelihoods. Households in slum communities could be supported to strengthen their collective purchasing capabilities, affording them healthier diets. Local governments could also make land available for communal food gardens, including agricultural cultivation education and supplies, and offer incentives to purchase traditional staple foods such as maize, yams and cassava for household consumption. Communal solar-powered cold storage facilities for preservation could also be provided to improve community food security. Health workers should organise nutritional education for residents on the benefits of consuming nutritious, minimally processed traditional staple foods.

Conclusion

Household food insecurity is exceptionally high among urban slum dwellers in Ibadan, Nigeria. Many households adopted negative or restrictive coping strategies in response to food insecurity. Households with better perceptions of the food environment were more likely to be food secure. The food purchasing patterns of these urban slum households were shaped by their levels of food insecurity. Food-secure households were more likely to purchase more traditional nutrient-dense, minimally processed foods, including fruits and vegetables, while food-insecure households purchase more processed foods. However, the purchase of ultra-processed foods was significantly associated with food-secure households. It is important to preserve the consumption of healthy traditional foods in sufficient quantity in these resource-constrained communities through a range of household-based and food environment interventions supporting healthier food choices. Food security is a basic human right; and, as such, local governments have an obligation to protect these rights and ensure that all people have access to safe and sufficient food.