Open Access
Translator Disclaimer
1 January 2020 The Diet for Edible-Nest Swiftlets: Nutritional Composition and Cost of Life Stages of Megaselia scalaris Loew (Diptera: Phoridae) Bred on 3 Commercial Breeding Materials
Hamdan Ahmad, Song-Quan Ong, Eng Hua Tan
Author Affiliations +

Megaselia scalaris (Loew) is one of the best-known diets for the swiftlet. Previous studies have addressed the problem of some mass rearing conditions for this insect; unfortunately, the details of the nutritional composition of the life stages and cost of the breeding materials were insufficiently reported, even though this information is crucial for farming the edible-nest swiftlet. We aimed to investigate the nutritional composition of the life stages of M scalaris on a cost basis using 3 common commercial breeding materials: chicken pellets (CPs), fish pellets (FPs), and mouse pellets (MPs). Modified Association of Official Analytical Chemists (AOAC) proximate and mineral analyses were carried out on the insect’s third instar larvae, pupal, and adult stages to determine the nutritional composition. Regardless of the breeding materials, the adult stage of M scalaris had significantly higher crude protein than the other stages; the pupae were rich in calcium, which is required for egg production; and the third instar larvae had the highest amount of crude fat compared with the other stages. Regarding the energy content, there were no significant differences among the stages according to the breeding materials. In terms of nutritional cost, CP was the most economic breeding material and generated the highest amount of nutrients per US dollar (US $). Different life stages of M scalaris were used by the swiftlets by supplying the required nutrients, and future studies should focus on effective diet feeding methods.


Over the past 2 decades, swiftlet captive farming has rapidly increased in Southeast Asia due to the high demand for this edible bird.1 Edible-nest swiftlets refer to several species of swiftlet birds that can produce nests that can be eaten by humans. The nest is an important ingredient in Chinese medicine for health-enhancing effects and is traditionally used as a food delicacy in Asia.2 Swiftlets, such as white-nest swiftlets (Aerodramus fuciphagus) and black-nest swiftlets (Aerodramus maximus), are bred in captivity in a specially designed building that is not their natural habitat, which may affect their dietary habits.3 Although swiftlets do not necessarily select nutritionally adequate diets, some primary nutrients, such as carbohydrates and fats, are important as energy sources, and proteins are needed for tissue and enzyme construction and for growth. Minerals are also required: calcium is needed by reproductively active female birds for egg production, and phosphorus is needed in large quantities for bone construction.4 Swiftlets are insectivorous, and the most common insects found in their boluses from prey composition are from the order Diptera.5 The contents of the boluses indicate the feed that can be used in swiftlet captive farming, and due to its small size, soft body, ease of mass rearing, high nutritional value, and conversion rate, the Dipteran insect Megaselia scalaris (Loew) is a good candidate for a domestic swiftlet feed6; however, previous studies were not focused on the nutritional value of the other life stages of M scalaris. Most studies on M scalaris have focused on their roles in forensic science; their development using different breeding materials; and their rearing conditions, such as moisture, density, and temperature7,8; however, from the perspective of swiftlet captive farming, the nutritional composition of each life stage of M scalaris and the nutritional cost (the cost to generate certain nutrients) of breeding materials have not been studied. Therefore, we investigated the nutritional value and cost of each life stage of M scalaris by breeding the insect on 3 commercial breeding materials.

Materials and Methods

Megaselia scalaris colony

The life stages of M scalaris used in this study were larva, pupa, and adult. A M scalaris colony was obtained from the Department of Veterinary Services (Pusat Pembiakan Itik/Pusat Walit, Kampung Paya Jaras Hilir, Selangor, Malaysia). For the larval stage, third instar larvae were used due to the accumulation of nutrients at that stage and for convenience in identification. The colony was maintained in a polypropylene container (10 L, with a capacity of 100 adult flies) that was closed with a muslin cloth and subjected to 24 hours under a white fluorescent lamp light at 70% ± 5% relative humidity and 27°C ± 2°C. Adults were allowed to mate, and 25 g of larval diet (a mixture of chicken feed (3011 Poultry Focus, Cargill, Selangor, Malaysia) and water at a ratio of 1:1.5 by weight) was placed in a Petri dish (height 1.5 cm × diameter 9 cm) for egg collection. To maintain the stock colony, larvae were allowed to hatch after 8 hours and left in the container until pupation. Pupae were collected and transferred to a new polypropylene container for adult emergence.

Preparation of breeding materials

The breeding materials were obtained commercially in pellet form, and the selection of materials was based on the availability of the manufacturers, ingredients, nutritional content, and cost (Table 1).The breeding materials were prepared in bulk using an electronic mixer to homogenize the pellets with water (2:3 ratio) in a stainless-steel tank. The abbreviations for breeding materials used are FP, CP, and MP.

Table 1.

Manufacturer, ingredients, nutritional content, and cost of the breeding materials.


Chemical analysis

Megaselia scalaris sample

Ten milligrams of eggs from the stock colony was introduced to each of the FP, CP, and MP breeding materials. Third instar larvae were harvested by identifying the appropriate body length (~4 mm). For the collection of pupae and adults, 2 batches of third instar larvae were prepared, washed, and placed into 2 plastic cages (height 24.0 cm × diameter 22.5 cm). One cage was used for pupae collection; freshly emerged adults (less than 24 hours) from the other cage were harvested using a centrifuge (BSTZ-U1AA1; TECO, Prai Penang, Malaysia). All samples (third instar larva, pupa, and adult) were killed in a freezer at −20°C for 24 hours before nutrient analysis.

Proximate analysis

All of the reagents used in the analysis were of analytical grade. A slightly modified Association of Official Analytical Chemists (AOAC) (2000) proximate analysis9 was conducted on the M scalaris samples, and all of the testing was performed with 3 replicates. Moisture content was measured by the gravimetric method (Method 925.40) with oven drying at 105°C. The moisture level was indicated by the difference in mass and was converted into a percentage.

The dried samples were used for protein analysis via the Kjeldahl method (Method 955.04). Initially, approximately 0.10 g of sample was first digested with concentrated sulfuric acid and a catalyst in a Kjeldahl flask. After the mixture was cooled to room temperature, sodium hydroxide was added to the flask. The flask was then placed in a distillation connection unit, and the distillate was mixed with boric acid and a few drops of methyl red. The distillate mixture was titrated with 0.40% hydrochloric acid, and the percentage of protein was calculated.

Determination of the lipid content was performed using the Soxtec method (Method 920.39). Food samples were weighed to approximately 0.20 g, and 4 mL of the solvent petroleum ether was used for the extraction. First, the mixture was homogenized using an ultrasonic homogenizer (Fisherbrand Model 505 Sonic Dismembrator; Thermo Fisher Scientific, Malaysia) and filtered with a Buchner funnel. The filtrate was transferred to a separating funnel and shaken with 20 mL of distilled water. The mixture was allowed to settle overnight, and the ether part was removed and dried in an oven at 60°C for 8 hours. The residue weight was lipid, which was expressed as a percentage.

For crude fiber (Method 935.53), the sample was weighed in a fiber capsule, inserted into a beaker containing approximately 300 mL of preheated reagent (1.25% sulfuric acid) and boiled for 30 minutes. The mixture was filtered and rinsed for approximately 30 seconds with hot distilled water and then rinsed with approximately 15 mL of acetone to remove the excess solution. The residue in the fiber capsule was dried in an oven at 100°C ± 2°C for 24 hours. The dried residue (D) was weighed and heated in a muffle furnace at 550°C for 4 hours to form ash (A). The fiber was the difference between D and A divided by the original weight of the sample and is expressed as a percentage.

To determine energy value, samples were weighed, and a pellet was formed by a tabletop pellet press. The sample pellet was placed in a sample cup connected to the heating element. Then, the sample cup was placed into a sealed bomb. The sealed bomb was placed in a bomb calorimeter, and the process took approximately 10 minutes. The energy value (J/g) was recorded.

Mineral analysis

Analyses were performed according to a slightly modified AOAC (2005) mineral analysis,10 and all of the testing was performed with three replicates. The samples were burned in a muffle furnace at 550°C for 6 hours, and the ash was dissolved in concentrated hydrochloric acid. Calcium content was determined by atomic-absorption spectrophotometry (Model 3300; PerkinElmer), and phosphorus content was determined by visible spectrophotometry (600s; FEMTO, SP, Brazil) via ammonium phosphovanadomolybdate. Three readings of each triplicate were obtained, and the results are expressed in g/100 g.

Statistical analysis

We focused on the nutritional composition of third instar larva, pupa, and adult M scalaris. The nutritional content was expressed as a percentage due to the analysis of proportions in ecology, and the data were arcsine transformed prior to analytical tests. Moreover, the nutritional cost of the breeding material was obtained by converting the nutrients into the amount of nutrients per cost of breeding materials in US dollar (US $). The nutritional composition among the life stages and the nutritional cost for the breeding materials were compared by 1-way analysis of variance (ANOVA) followed by the least significant difference (LSD) post hoc test in SPSS 20.0 at P < .05.


Regardless of the breeding material used, the crude protein of adults was significantly higher than that of the other stages (F = 37.71; df = 2, 12; P < .05) and was composed at least 63% of the total nutrients (Table 2). For calcium content, the pupal stage of M scalaris showed the highest quantity compared with the other life stages (F = 30.25; df = 2, 12; P < .05), which ranged from 0.77 to 1.06 g/100 g for the different breeding materials. As much as 31.94% of crude fat was obtained from third instar larvae of M scalaris using CP as the breeding material, and the crude fat content was also significantly higher than that in the pupa and adult stages (F = 6.26; df = 2, 12; P < .05), indicating that third instar larvae are a good source of crude fat for swiftlets. Nevertheless, regarding the energy contents, there were no significant differences among the stages regardless of the type of breeding material used. CPs were the cheapest (US $0.48/kg) among the breeding materials, and the nutritional content generated from CP was significantly higher than those of the other breeding materials (Table 3). When the nutritional cost of the breeding materials was compared (CP, FP, and MP), CP had the lowest cost per kilogram (US $0.48) and led to significantly higher nutrient levels than the other breeding materials (Figure 1).

Table 2.

Nutritional value (means ± SE) of Megaselia scalaris for different breeding materials and stages.


Table 3.

Nutritional value based on US $1, nutrient (g/100 g) per US $ ± SE.


Figure 1.

Nutritional value based on US $1—left: larvae; center: pupae; right: adult.



Animals may acquire different compositions of nutrients at different growth stages.11 Swiftlets behave like wild birds; therefore, in captive farming, meeting their nutritional requirements is a challenging issue. Our study demonstrated that the 3 life stages (third instar larvae, pupae, and adults) of M scalaris are able to provide different nutrients if used to feed swiftlets. Three life stages provide different nutritional contents, which may be due to the nutrient requirements for that particular stage, as suggested by Turner et al12; for example, larvae have to gain a critical minimum weight and fat content before they can undergo pupation successfully. The results provide a detailed analysis of the nutritional composition of the life stages of M scalaris in support of the study by Kamarudin and Khoo,6 in which small Diptera, such as M scalaris, were found to be a suitable diet for the swiftlet. The nutritional composition of Diptera insect life stages may vary by species; for example, the pupal stage of the house fly (Musca domestica L.) contained the highest crude protein,13 but in the black soldier fly (Hermetia illucens), the highest crude protein content was at the prepupal stage.14 Nevertheless, we showed that the crude protein of M scalaris was the highest at the adult stage, and this result was consistent with the study of Finke,15 in which the crude protein for Diptera insects represented 37% to 61.4% of the total nutrients. As suggested by McWilliams et al,16 protein is the key nutrient for muscle construction, particularly in the growing stages; therefore, adult M scalaris was suggested for use as a feed during the reproductively active and growing stages of swiftlets. In addition to the nutritional perspective, adult M scalaris were easier to release and feed because swiftlets usually prey on mobile insects.

Our results showed that the pupal stage of M scalaris was rich in calcium, indicating that pupae may be suitable for female swiftlets involved in egg production during the mating and reproduction season. Calcium is the critical mineral in egg shell construction, and a lack of this nutrient may result in a higher fatality rate of immature swiftlets. Studier and Sevick17 and Graveland and Van Gijzen18 found that the calcium composition of insects in most orders is less than 0.3% by dry mass. These results contrasted with our results, which showed that pupae of M scalaris generated at least 0.77 g/100 g (0.77%) calcium. This difference may be observed because pupae of M scalaris have calcified exoskeletons. However, supplying insects at an immobile developmental stage to aerial insectivorous birds, such as swiftlets, is challenging.

Crude fat serves as an energy resource during flight,4 and as suggested by McWilliams et al,16 birds may store fat in preparation for breeding. This study showed that crude fat was highest in the third instar larvae, a finding that was almost identical to those of the studies of Barker et al19 and Finke,15 in which most Diptera insects were found to preserve their fat content during their immature stage. The third instar larvae of M scalaris were a potential diet for swiftlets that were active in food foraging, consistent with the study of Molokwu et al,20 who investigated the diet selection of foraging birds using fat- and carbohydrate-rich diets and found that the birds preferred the diet that had a significantly higher fat content. Fats are able to provide twice the amount of energy (39.5 kJ/g) as carbohydrates and proteins (16.9 and 23.6 kJ/g, respectively).4

The nutritional cost of supplying nutrients to birds raised for food or other products, such as poultry, ducks, ostriches, and pheasants, has been well studied and measured, although the exact nutritional cost for most species of birds is still unknown, and the cost of avian diets for many species is extrapolated from the poultry industry. To the best of our knowledge, this study was the first to report the nutritional cost of swiftlets. There were no significant differences among the types of breeding materials used. This result could provide important information when mass rearing M scalaris is required, because a more expensive material, such as nutrient agar, is often used as a breeding material; therefore, the commercial animal feeds that we tested in this study may provide a good alternative. The result also suggested that when insects are used as the diet for birds, cost is more important than the nutritional composition of breeding materials because insects have a good nutritional conversion rate and can convert lower-cost materials to high amounts of nutrients.


The nutritional composition of M scalaris in the adult stage had the highest crude protein content, the pupal stage had the highest calcium content, and third instar larvae had the highest crude fat content of the 3 breeding materials (FPs, CPs, and MPs). For cost consideration, CPs generated significantly higher nutrients per US $. Future studies could be performed on swiftlet feeding trials with different life stages of M scalaris and on diet development for economically important avians.



Lau ASM Melville S. International Trade in Swiftlet Nests with Special Reference to Hong Kong. Cambridge, UK: Traffic International; 1994. Google Scholar


Koon LC Cranbrook GGH . Swiftlets of Borneo: Builders of Edible Nests. Sabah, Malaysia: Natural History Publications; 2002. Google Scholar


Creighton C. A Landscape Political Ecology of ‘Swiftlet Farming’ in Malaysian Cities [PhD thesis]. Manchester, UK: The University of Manchester; 2016. Google Scholar


Karasov WH . Digestion in birds: chemical and physiological determinants and ecological implications. In: Morrison ML Ralph CJ Verner J Jehl JR , eds. Avian Foraging Theory, Methodology and Applications. Cooper Ornithological Society, Glendon Ave, Los Angeles, CA; 1990:391–415. Google Scholar


Ab Rahman S Sharifah F Mohd Nor H Burhanuddin M . Diversity of the insects in the diet of edible nest swiftlets in oil palm plantations. J Biodiversity Environ Sci. 2016;8:39–48. Google Scholar


Kamarudin MI Khoo CK. Megaselia scalaris as feed of domesticated Aerodramus fuciphagus swiftlet. Paper presented at: International Conference and Training on Swiftlet; July 17-19, 2011; Kuala Terengganu, Malaysia. Google Scholar


Idris AB Abdullah M Lin TP. Effect of various diets on the development of scuttle fly, Megaselia scalaris (Loew) (Diptera: Phoridae), larvae and pupae and percent of adult emergence and longevity. Pak J Biol Sci. 2001;4:321–325. Google Scholar


Campobasso CP Introna F. The forensic entomologist in the context of the forensic pathologist’s role. Forensic Sci Int. 2001;120:132–139. Google Scholar


Association of Official Analytical Chemists (AOAC). Official Methods of Analysis of AOAC International. 17th ed.Gaithersburg, MD: AOAC International; 2000. Google Scholar


Association of Official Analytical Chemists (AOAC). Official Methods of Analysis of AOAC International. 17th ed.Gaithersburg, MD: AOAC International; 2005. Google Scholar


Crocker D Hart A Gurney J McCoy C. PROJECT PN0908: methods for estimating daily food intake of wild birds and animals and mammals. Final Report, Central Science Laboratory. PublishedJuly2002. Google Scholar


Turner EC Ruszler PL Dillon P Curter L Yowlgman R. An integrated pest management program to control house flies in commercial high rise houses. J Appl Poultry Res. 1992;1:242–250. Google Scholar


Spranghers T Ottoboni M Klootwijk Cet al . Nutritional composition of black soldier fly (Hermetia illucens) prepupae reared on different organic waste substrates. J Sci Food Agric. 2017;97:2594–2600. Google Scholar


Finke MD. Nutrient content of insects. In Capinera J , ed. Encyclopedia of Entomology. London, England: Springer; 2004. Accessed September 15, 2017. Google Scholar


McWilliams SR Kearney SB Karasov WH. Diet preferences of warblers for specific fatty acids in relation to nutritional requirements and digestive capabilities. J Avian Biol. 2002;33:167-174. Google Scholar


Studier EI Sevick SH. Live mass, water content, nitrogen and mineral levels in some insects from south-central lower Michigan. Comp Biochem Physiol A. 1992;103:579–595. Google Scholar


Graveland J Van Gijzen T. Arthropods and seeds are not sufficient as calcium sources for shell formation and skeleton growth in passerines. Ardea. 1994;82:299–314. Google Scholar


Barker D Fitzpatrick MP Dierenfeld ES. Nutrient composition of selected whole invertebrates. Zoo Biol. 1998;17:123–134. Google Scholar


Molokwu MN Nilsson JÅ Olsson O. Diet selection in birds: trade-off between energetic content and digestibility of seeds. Behav Ecol. 2011;22:639–647. Google Scholar


[1] Financial disclosure The author(s) received no financial support for the research, authorship, and/or publication of this article.

[2] Conflicts of interest The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.

[3] Contributed by All authors contributed equally to the writing and editing of the first and final drafts of this article.

© The Author(s) 2019 This article is distributed under the terms of the Creative Commons Attribution-NonCommercial 4.0 License ( which permits non-commercial use, reproduction and distribution of the work without further permission provided the original work is attributed as specified on the SAGE and Open Access pages (
Hamdan Ahmad, Song-Quan Ong, and Eng Hua Tan "The Diet for Edible-Nest Swiftlets: Nutritional Composition and Cost of Life Stages of Megaselia scalaris Loew (Diptera: Phoridae) Bred on 3 Commercial Breeding Materials," International Journal of Insect Science 11(1), (1 January 2020).
Received: 3 December 2018; Accepted: 4 December 2018; Published: 1 January 2020

Life stages
nutritional composition
nutritional cost
Get copyright permission
Back to Top