Green City LAB SDGs

Coffee pulp, compost and wastewater at San Rafael in El Salvador

Conclusion, checked November 23, 2026:San Rafael, a coffee processing facility in El Salvador, has a specific plan to return fruit skins and pulp to farmland and to treat and reuse processing wastewater. However, the main Ministry of Environment record is a plan for the 2019/2020 harvest season. It states that the facility had only reached the equipment testing stage when the record was prepared. It is not a performance report demonstrating current finished-compost quantities or wastewater treatment effectiveness.

A grower carrying a sack of coffee in Tacuba, El Salvador Climate and Energy
A coffee grower in Tacuba, El Salvador, on December 26, 2007. The photograph illustrates the coffee industry and local work. It does not identify workers at San Rafael or people who use compost there. Photo: Adam C. Baker / Wikimedia Commons / CC BY 2.0.
Jump to evidence and sources

This article explains coffee pulp as the skins and flesh left when beans are removed from coffee cherries, and agua miel as wastewater containing organic matter generated during coffee processing. It outlines the plan, how to interpret water and residue figures, and what to check before safely returning materials to the soil. Use as feed or fuel is not presented as an activity already implemented at San Rafael.

Opening photograph: A coffee producer in Tacuba, El Salvador, December 26, 2007. Photograph: Adam C. Baker / Original source / CC BY 2.0. A reference photo of local production, not a record of San Rafael’s workers or residue treatment.

  1. One. What the source establishes about San Rafael
    1. The ministry’s record describes the facility and its treatment plan at the time
    2. The record describes farmland-use routes for solid residues and wastewater
  2. Two. Separate the 2019/2020 audit record from the situation in 2026
    1. The audit page is not a record of current operating results
    2. Track materials from receipt to use over the same period
  3. Three. How to interpret 2,700 qq of coffee pulp
    1. Byproduct quantities depend on processing methods and feedstock quantities
    2. Check the moisture basis of the reported weight
  4. Four. Three days of draining separate the liquid load into another stream
    1. Leachate from pulp goes to a settling tank
    2. Do not confuse a microbial additive with a large treatment facility
  5. Five. Assess the 40 m² composting area in terms of capacity
    1. Area alone does not establish processing capacity
    2. Separate 10–15 days of dewatering from finished compost
  6. Six. Why hydrated lime is added and how to interpret its quantity
    1. The plan specified 0.25 lb per 100 lb of pulp
    2. Do not confuse lime-induced pH increases with fertilizer value
  7. Seven. Conditions for turning the plan to return materials to farmland about 650 m away into results
    1. Nearby use can reduce the transport burden
    2. Match application rates to area, soil, and nutrient requirements
  8. Eight. Distinguish coffee-processing wastewater volume from pollutant concentration
    1. Liquids from washing, transport, equipment cleaning, and draining
    2. The 15 m³ estimate corresponds to 500 qq of washed coffee
  9. Nine. How to audit settling tanks and 12-hour treatment
    1. Several settling tanks separate solids
    2. Lime at 30 lb/m³ and 12-hour treatment are conditions specific to this plan
  10. Ten. The limits of the claim of 100% rainwater use
    1. The audit record describes a design supplying process water through rainwater harvesting
    2. Compare stored water with harvest-season demand
  11. Eleven. Differences between washed, honey, and natural processing
    1. Washed processing removes the mucilage around beans with water
    2. Honey and natural processing also include water-using steps
  12. Twelve. Do not present feed use as a San Rafael achievement
    1. Potential uses for coffee pulp still require safety conditions
    2. Separate possible alternative uses from implemented activities
  13. Thirteen. Fuel use is also not a documented San Rafael achievement
    1. Using dry residues as fuel requires moisture and exhaust-emission management
    2. Diverting residues to another use reduces the amount returned to soil
  14. Fourteen. How to check the quality of materials returned to farmland
    1. Measure maturity, pH, organic matter, and nutrients
    2. Monitor effects on plants in the field
  15. Fifteen. Protect workers and neighboring communities
    1. Hydrated lime requires measures appropriate to the substance
    2. Odors and flies provide early warning of processing problems
  16. Sixteen. Connections with national policy and general good practices
    1. The agriculture ministry describes using organic matter on coffee fields
    2. Separate materials before they become mixed
  17. Seventeen. Compare related systems and initiatives
    1. The article on El Salvador’s waste law concerns a national system
    2. International comparisons reveal conditions for choosing uses
  18. Eighteen. What is known and which figures would establish results
    1. An existing facility and a specific circular-use plan can be confirmed
    2. Calculating with the source’s figures reveals points needing further checks
    3. Distinguish quantities treated from quantities providing benefits
    4. Align units for feedstock and products
    5. Check overlapping harvest peaks and storage needs
    6. Verify wastewater improvements through both concentration and volume
    7. Compare transport, costs, and quality over the same period
    8. What to check in a new report
  19. Nineteen. Frequently asked questions
    1. Question one. Has San Rafael produced 2,700 qq of compost?
    2. Question two. What is the planned use for the pulp?
    3. Question three. Is the pulp also used as feed?
    4. Question four. Is it used as fuel?
    5. Question five. Is agua miel applied directly to fields?
    6. Question six. Does 40 m² provide sufficient treatment capacity?
    7. Question seven. Does 100% rainwater use continue in 2026?
    8. Question eight. What are the most important assessment items?
  20. Twenty. Main primary and official sources

One. What the source establishes about San Rafael

The ministry’s record describes the facility and its treatment plan at the time

The Ministry of Environment and Natural Resources of El Salvador (MARN)’s environmental audit record NFA824-2019 concerns Beneficio Ecológico San Rafael and identifies its operator as LOS NARANJOS CAFE SA DE CV. Its location, using the administrative names in the record, is Los Naranjos in Juayúa, Sonsonate. Here, beneficio means a facility for post-harvest coffee processing.

The same record distinguishes a plan to process 1,000 qq in green-coffee equivalent, or 5,000 qq of raw cherries, during the 2019/2020 harvest from installed capacity of 2,500 qq in green-coffee equivalent. The abbreviation qq stands for the source’s weight unit, quintal. Because raw materials, products, and residues are different materials, simply comparing the numbers does not establish the proportion reused.

The record describes farmland-use routes for solid residues and wastewater

The pulp plan specifies three days of draining, followed by 10–15 days of treatment with hydrated lime in a 40 m² treatment area, then transport to Finca Los Naranjos approximately 650 m away. The source describes the transported material as dewatered pulp. It does not state that the quality of fully mature, finished compost was verified.

The wastewater plan involves settling tanks and hydrated-lime treatment, followed by use on coffee fields. The source’s term biofertilizante does not, by itself, establish nutrient content, pathogen control, soil suitability, or certification as a fertilizer product. This article reads it as a plan to use treated wastewater on farmland, without adding unverified quality assurances.

The plan’s defining feature is separate collection of solids and liquids for intended use on nearby farmland. Determining whether this arrangement reduced environmental impacts requires records of the quantities and quality treated on site and their use on the fields. Distinguishing a named facility and described processes from demonstrated results helps avoid either overstating or understating the initiative’s value.

ItemMARN audit recordBoundary
FacilityBeneficio Ecológico San RafaelFacility information recorded
LocationLos Naranjos, Juayúa, SonsonateFacility covered
Planned processing1,000 qq oro / 5,000 qq uva2019/20 plan
Installed capacity2,500 qq oroNot actual performance
PulpApproximately 2,700 qq expectedNot finished-compost output
Destination for reuseFinca Los NaranjosPlanned route

Two. Separate the 2019/2020 audit record from the situation in 2026

The audit page is not a record of current operating results

MARN’s record states that only tests to check whether the equipment worked correctly had been performed. Much of the subsequent process description uses language indicating plans. Within the public materials checked on November 23, 2026, no primary source was found presenting annual figures for the facility’s recent harvest quantities, finished-compost output, or wastewater reuse.

Accordingly, the 2,700 qq of pulp, 15 m³ of wastewater, treatment durations, and similar figures are treated as estimates or planned conditions at the time. Continued access to an old record does not prove that the same equipment, quantities, and operating methods continued through 2026. Conversely, the absence of newly identified performance data does not establish that the facility is no longer operating.

Track materials from receipt to use over the same period

To assess sustained performance, compare received coffee cherries, quantities by processing method, pulp, wastewater, and materials transported to farmland within the same harvest season. For example, if pulp generation is reported for one year and transport to farmland for the next, the figures cannot be subtracted without checking stored quantities. Aligning inputs, stocks, and outputs is fundamental to verifying circular use.

Installed capacity of 2,500 qq and planned processing of 1,000 qq are both expressed in green-coffee equivalent, but mean different things. The planned quantity equals 40% of capacity, but this is a ratio obtained by dividing two figures, not an actual utilization rate. Operating days, breakdowns, feedstock availability, and the mix of processing methods affect performance. Installed capacity should not be substituted directly for annual production or residue treatment capacity.

Key point:First check the document’s date, whether figures are planned or measured, and what each number describes. A page containing equipment descriptions and future estimates does not establish that everything has already been implemented.

A green coffee pulper installed in the Yercaud area of India
A coffee pulper in the Yercaud area of Tamil Nadu, India, August 7, 2023. A reference photo of machinery separating beans from pulp; it does not show San Rafael’s equipment or processing capacity. Photograph supplied by Yercaud-elango / Original source / CC BY-SA 4.0. Reduced for display; content unchanged.

Three. How to interpret 2,700 qq of coffee pulp

Byproduct quantities depend on processing methods and feedstock quantities

For the processing plan at the time, the record estimates approximately 2,700 qq of pulp. It also explains that cherries destined for natural processing go directly to drying areas without passing through a pulper. Both the amount of feedstock and its allocation among methods affect the quantities of wet pulp and husks left after drying.

The green-coffee-equivalent breakdown is 500 qq washed, 250 qq honey, and 250 qq natural. These represent 50%, 25%, and 25% of the total, respectively. However, the record does not allow calculation of how much of the 2,700 qq of pulp comes from each method. Additional information is needed on the relationship between cherry or product weights and byproduct weights.

Check the moisture basis of the reported weight

The source does not specify the moisture content or whether the 2,700 qq figure is on a wet or dry basis. Weight changes during draining and decomposition, so the figure cannot be read directly as finished-compost output. For example, equal-sized containers hold different weights when one contains wet material and the other thoroughly drained material. This distinction also matters when comparing fertilizer value or transport requirements.

Separate measurements at generation, after three days of draining, after composting, and on arrival at the fields help identify where moisture and organic matter decreased.

Key point:A circular-use rate requires consistent measurement bases, without confusing wet weight with dry matter.

QuantityStageCaution
5,000 qq uvaFeedstockPlanned value
1,000 qq oroProduct equivalentPlanned value
2,700 qq pulpaExpected byproductMoisture basis not specified
Three daysDrainingNot complete treatment
40 m²Composting areaCapacity requires a separate calculation
10–15 daysDewatering and treatmentNo guarantee of maturity
Pale coffee beans and red skins emerging from a pulper in Uganda
Coffee processing in Mbale, Uganda, October 13, 2014. Pale pulped beans and red fruit skins are visible. A reference photo illustrating the distinction between beans and byproducts, not San Rafael’s residue quantities. Photograph supplied by Erinamukuta / Original source / CC BY-SA 4.0. Reduced for display; content unchanged.
Diagram one: Multiply the 30 L figure by the 500 qq of washed coffee
The 2019/2020 harvest plan. All quantities are green-coffee equivalents, totaling 1,000 qq. These are not actual results.
Washed
500 qq: 50%
Honey
250 qq: 25%
Natural
250 qq: 25%
Washed: 500 qq × 30 L/qq
= 15,000 L = 15 m³
Do not multiply by the 5,000 qq of raw cherries or the 1,000 qq total for all methods. Honey and natural processing also use water for sorting and equipment cleaning. The diagram organizes relationships among the planned figures at the time; it does not show total water consumption or measured wastewater volumes. Source: MARN environmental audit record NFA824-2019.

Open diagram one as a larger image

Four. Three days of draining separate the liquid load into another stream

Leachate from pulp goes to a settling tank

Under the plan, liquid draining from pulp over three days is collected in a nearby settling tank of approximately 1.20 m³. Draining is the initial step in separating liquids from solids. Organic matter transferred to the liquid has not disappeared, so a smaller residue pile alone does not establish a reduced environmental burden. The condition of the receiving tank must also be checked.

However, leakage from the draining floor into the soil would bypass the treatment system. The floor, drainage channels, roof, discharge destination, and rainwater ingress need to be checked.

Do not confuse a microbial additive with a large treatment facility

The source describes a plan to dilute a material of the Bio-Regen type in water and apply it by dripping. Although it uses the term biodigestor, this passage does not establish the presence of a large enclosed anaerobic digester or biogas recovery system. Adding a small amount of a product is different from building a separate treatment facility.

This record does not establish the additive’s composition or measured effectiveness. Its addition alone cannot demonstrate complete decomposition or odor prevention. Application dates, temperature, moisture, odors, and post-treatment condition need to be tracked. A specific product name does not necessarily mean verified effectiveness, a useful distinction when reading other circular-resource examples.

Key point:Draining starts solid-liquid separation. Unless the liquid can be treated safely, successful reuse of solid residues alone will not reduce the overall burden.

Five. Assess the 40 m² composting area in terms of capacity

Area alone does not establish processing capacity

An area of 40 m² is different from the volume available for piling material. Space for walkways, turning, and moving materials means that not all of it can be used for piles. Multiplying by average height gives an approximate volume, but without the shape, density, and usable area, this article does not invent a tonnage capacity.

When pulp generation is concentrated during the harvest, the next batch may arrive before the previous one is finished. Whether 40 m² can handle peak daily quantities must be assessed over time.

Separate 10–15 days of dewatering from finished compost

The source’s 10–15 days refer to the planned period after mixing in hydrated lime and before transporting dewatered pulp to farmland. FAO’s 2013 manual on composting for farmers distinguishes heating, cooling, maturation, and other stages. Loss of water, generation of heat, and attainment of a stable material suitable for plants should not be treated as the same event.

The time needed for maturation varies with materials and management conditions, so no fixed number of days guarantees completion. With reference to FAO’s guidance, check temperature trends, reheating after turning, odors, and the remaining material’s condition, together with analyses appropriate to the intended use and checks on germination effects. San Rafael’s record does not contain these results.

Key point:Track actual residence time, maturity, and application methods, rather than relying on the label composting.

Six. Why hydrated lime is added and how to interpret its quantity

The plan specified 0.25 lb per 100 lb of pulp

The source describes adding hydrated lime in layers at 0.25 lb per 100 lb of pulp to raise pH, the measure of acidity or alkalinity, and suppress flies and similar pests. Dividing quantities in the same weight unit gives 0.25%. However, this ratio is an interpretation of the record, not a recommended formulation to apply unchanged to other materials or facilities.

The amount of hydrated lime needed and its effects depend on feedstock properties, moisture, the process, and the soil where the material will ultimately be used. Whether the planned amount was actually added, whether it improved quality, and whether the same conditions remain appropriate in 2026 are separate questions. Without before-and-after results, adding a specified amount does not establish safety.

Do not confuse lime-induced pH increases with fertilizer value

Lime may help adjust acidity, but excessive addition can affect soil pH and nutrient balance. Finished-material analyses and application quantities need to be linked to soil testing.

Fertilizer value is assessed through nitrogen, phosphorus, potassium, organic matter, and other properties. Adding lime is not itself evidence of high-quality compost.

Key point:Track additive quantities through both input records and the fields’ soil management and fertilization plans.

Seven. Conditions for turning the plan to return materials to farmland about 650 m away into results

Nearby use can reduce the transport burden

The audit record describes a plan to transport dewatered pulp by vehicle to Finca Los Naranjos, about 650 m away, and apply it as organic fertilizer to coffee crops. The proximity of the facility and destination offers the advantage of reducing long-distance transport and storage.

However, quantities reused can only be verified by recording whether transported and applied weights match and whether intermediate storage or losses occurred.

Match application rates to area, soil, and nutrient requirements

Being organic does not mean that more should be applied. Soil analyses, crop nutrient demand, slopes, and rainfall must be considered to prevent runoff and eutrophication.

When large quantities are applied to the same field annually, monitor organic matter, pH, nutrients, and salt accumulation over the long term.

Key point:Record removal from the facility separately from appropriate use on farmland. A short transport distance may be beneficial, but does not guarantee quality or appropriate application rates.

Diagram two: The plan returns solid residues and wastewater to farmland through separate routes
Solid-material route
Drain pulp for three days
↓
A 40 m² area
Add hydrated lime and treat for 10–15 days
↓
Transport dewatered pulp
to farmland approximately 650 m away
Liquid route
Wastewater from washing and other activities: 1 + 6 + 6 m³ tanks
Liquid from pulp: a separate 1.2 m³ tank
↓
Treat with hydrated lime for 12 hours
Conditions in the source’s plan
↓
Transport by vehicle in containers
for planned use on coffee fields
This diagram summarizes MARN’s 2019/2020 plan. It is not a piping diagram and does not show detailed connections between tanks. Treatment duration alone does not guarantee compost maturity or wastewater safety. Current quantities and quality require separate verification.

Open diagram two as a larger image

Eight. Distinguish coffee-processing wastewater volume from pollutant concentration

Liquids from washing, transport, equipment cleaning, and draining

The source identifies bean washing and mucilage removal, equipment cleaning, water transporting coffee, and liquid from pulp as wastewater sources. It describes recirculating transport water for two to three days according to visually observed turbidity. This duration cannot be treated as a hygienically safe period of continuous use or a management standard applicable to every facility.

Liquids with high organic concentrations can cause oxygen depletion, odors, and other impacts if discharged untreated into rivers. Reuse should be managed as a route transferring the load to fields, rather than described as eliminating wastewater.

The 15 m³ estimate corresponds to 500 qq of washed coffee

The planned 30 L/qq is estimated water use per unit of green-coffee equivalent processed by the washed method. Multiplying by 500 qq washed gives 15,000 L, or 15 m³. Applying the same factor to the entire 1,000 qq plan or the 5,000 qq of raw cherries would use the wrong denominator. A matching calculation also does not prove that actual flow was measured.

The source also estimates COD of approximately 0.03 metric tons per year for 15 m³ and approximately 0.09 metric tons per year for a future 45 m³. COD is the oxygen required to chemically oxidize substances in water and is an indicator of pollution. Both pairs give 2 kg/m³ when the quantities are divided, but this relationship is calculated backward from planned figures. It is not a concentration measured from a water sample or a treatment removal rate.

Key point:Using less water does not necessarily reduce the total pollutants remaining in wastewater by the same proportion. Distinguishing volume, concentration, and the load calculated by multiplying them helps prevent confusion between water conservation and water-quality improvement.

Agua miel sourceManagementAudit checks
WashingTreatment after recirculationFlow and COD
Mucilage removalTo the main pipeConcentration
Equipment cleaningCombined flowDetergents and other substances
Transport waterRecirculated for two to three daysTurbidity
Liquid draining from pulpSeparate settling tankVolume and pH
After treatmentUse treated wastewater on farmlandApplication rate and soil

Nine. How to audit settling tanks and 12-hour treatment

Several settling tanks separate solids

MARN’s audit describes sending the main agua miel stream from an initial 1 m³ settling tank to two 6 m³ tanks, while liquid draining from pulp goes to a separate tank of approximately 1.2 m³.

These nominal capacities total 14.2 m³, but the three tanks for the main wastewater stream and the tank for pulp liquid form different routes. They cannot be described as a single 14.2 m³ treatment tank available for continuous use. Settled solids and operating water levels also affect usable volume, so total capacity alone should not be used to calculate treatment time or performance.

Lime at 30 lb/m³ and 12-hour treatment are conditions specific to this plan

The audit record describes a plan to mix 30 lb of hydrated lime evenly into each 1 m³ of agua miel, treat it for 12 hours, and use the treated liquid on farmland.

The chemical quantity and duration describe the facility’s plan at the time. Different wastewater properties would produce different results. Without verified post-treatment pH, pollutant concentrations, sediment destinations, or soil effects, this article cannot provide a procedure implying that this formulation makes the liquid safe to apply.

Key point:A planned treatment duration, actual treatment of all the water for that duration, and attainment of the required quality are separate matters. The source provides no before-and-after water-quality measurements or removal rates.

Treatment conditionAudit recordPerformance verification
Initial settling tank1 m³Actual effective capacity
Main settling tanksTwo 6 m³ tanksRetention
Tank for liquid from pulpApproximately 1.2 m³Separate management
Lime30 lb/m³Input records
Treatment duration12 hourspH, COD, and other indicators
UseTreated liquid for farmland useTransport and application
A horizontal rainwater tank and a barrel in a garden in Czechia
Garden rainwater tanks in Fryšták, Czechia, August 16, 2011. A reference photo of rainwater storage. These are not food-processing facilities, and the photograph does not establish the materials, capacity, or water quality of San Rafael’s tanks. Photograph supplied by Pavel Ševela / Original source / CC BY-SA 3.0. Reduced for display; content unchanged.

Ten. The limits of the claim of 100% rainwater use

The audit record describes a design supplying process water through rainwater harvesting

The rainwater system in the record comprises four storage tanks collecting roof runoff and a 5.3 m³ plastic tank supplying the processing line by gravity. The four listed capacities are 317.99, 481.19, 317.99, and 141.66 m³, which sum to 1,258.83 m³. This is the sum of stated nominal capacities, not a capacity confirmed by a site survey or the water actually available during harvest.

The description at the time indicates a rainwater-based supply system, but water use by source in 2026 has not been verified. The source also lists 0.88 m³ per day, 53.53 m³ per year, and 65 operating days. Multiplying 0.88 by 65 gives 57.2 m³, which does not match the annual figure. There is no basis for deciding whether this reflects different operating days or reporting boundaries, or a typographical error, so neither figure is arbitrarily corrected.

Compare stored water with harvest-season demand

Even large nominal tank capacity does not determine available water, which depends on rainfall before harvest, initial levels, evaporation, and leakage. Compare water remaining at the season’s start with process demand through a water balance.

Rainwater use can reduce pressure on water abstraction, but roof and tank hygiene, pumping electricity, and overflow also need management.

Key point:Water entering storage, water used in processing, recirculated water, and wastewater output are different quantities. Even a claim of 100% rainwater requires checking which water uses form the denominator. It should not be extended without explanation to the facility’s total annual use, including domestic water and other uses.

Red coffee cherries and pale beans spread separately on drying beds
Coffee cherries and beans spread on drying beds in the Tarrazú region of Costa Rica. The photography date is unknown; October 29, 2010, is the date of the original upload. A reference photo illustrating how materials differ by processing method. Photograph supplied by Tarrazu at en.wikipedia / Original source / Public domain. Reduced for display; content unchanged.

Eleven. Differences between washed, honey, and natural processing

Washed processing removes the mucilage around beans with water

Washed processing removes the mucilage around beans through fermentation, washing, and other steps after pulping. San Rafael’s plan describes these water-using steps and recirculation. Both reducing water use and properly managing the organic matter in used water are necessary.

Check turbidity, odors, and treatment efficiency to determine whether excessive recirculation is harming quality or hygiene.

Honey and natural processing also include water-using steps

Honey processing dries coffee after removing the pulp, while natural processing dries the whole cherries. The source states that both use water in sorting tanks and equipment cleaning. Neither can therefore be described as using no water at all. Nor can one be assumed always to use less, because no data comparing their actual consumption are available.

Changing the processing mix changes water use, pulp quantities, quality, and labor costs simultaneously. The method using less water should not be deemed optimal on that criterion alone.

Key point:When evaluating byproduct circularity, also check that product quality and yield are not being sacrificed.

MethodWater-use patternResidues
WashedRelatively highPulp + agua miel
HoneyDrying follows pulping; water is used for sorting and cleaningMainly pulp
NaturalUsed for sorting and equipment cleaning; no comparative measurementsResidues from dried cherries
RecirculationReduces water inputWatch for concentrated pollution
RainwaterReduces external water abstractionStorage conditions
DryingA quality-related processWeather and hygiene
A historical photograph from around 1905 showing coffee being spread across a large drying area
Drying coffee on a plantation in El Salvador, around 1905. A photograph illustrating the history of production processes, not the equipment or hygiene conditions at San Rafael today. Photograph supplied by State Government Photographer / Original source / CC0. Reduced for display; content unchanged.

Twelve. Do not present feed use as a San Rafael achievement

Potential uses for coffee pulp still require safety conditions

Agricultural residues are sometimes used as feed, but San Rafael’s MARN audit establishes only plans for compost and treated wastewater use on farmland. It does not record feed-production processes, analyses, animal species, feeding rates, or legal authorization.

An experimental report on coffee pulp hosted by FAO in 1990 conference proceedings examines differences in composition by variety and processing method for Ethiopian materials, along with limitations on feed use caused by caffeine and tannins. It is a laboratory study of composition and digestibility, not a trial showing that feeding San Rafael’s pulp to livestock was safe. It also cannot be substituted for a current standard for setting feeding rates.

Separate possible alternative uses from implemented activities

If feed is discussed as a possible comparison, describe the necessary tests, standards, and market conditions without claiming that this facility uses it.

A switch to a new use should be compared with the soil benefits and costs of current compost use, accounting for competition for the same residues.

Key point:What matters in a circular economy is the quantity safely put to actual use and its benefits, rather than the number of possible uses.

Thirteen. Fuel use is also not a documented San Rafael achievement

Using dry residues as fuel requires moisture and exhaust-emission management

FAO’s explanation of waste and circularity describes returning agricultural residues to soil as well as potential uses for feed, energy, and other products. San Rafael’s record provides no results for pulp use as fuel. Any comparison of wet material as a fuel must include the additional energy needed to dry it.

Simply calling it energy recovery is insufficient without considering combustion smoke and ash, equipment suitability, and heat demand.

Diverting residues to another use reduces the amount returned to soil

Fuel use reduces organic matter returned to soil, so fossil-fuel substitution and soil-improvement benefits must not be double-counted for the same residues.

It becomes an option for comparison only when the facility has an actual need for heat, can dry the material sufficiently, and can control emissions.

Key point:The same residues cannot be counted as entirely converted into compost and entirely used as fuel. Match actual quantities allocated to each use with the effects achieved by that use.

Sieved compost and a small trowel
Compost pictured in a photo collection about a waterless toilet and composting facilities at a private home in Germany, April 14, 2013. The original source also mentions that stickiness may remain. This is not coffee-derived compost; it is a reference photo illustrating that appearance alone cannot establish maturity. Photograph supplied by Elisabeth von Muench / SuSanA Secretariat / Original source / CC BY 2.0. Reduced for display; content unchanged.

Fourteen. How to check the quality of materials returned to farmland

Measure maturity, pH, organic matter, and nutrients

Materials returned to soil should be checked for moisture, organic matter, pH, nutrients, and other properties. The C/N ratio compares carbon and nitrogen quantities and can inform assessment of decomposition, but cannot by itself establish completion or safety. As FAO’s composting manual indicates, conditions during the process must be connected with quality checks suited to the final use.

A dark appearance or weak odor alone does not establish completion. For example, material whose decomposition has stopped because it is too dry may be difficult to distinguish from stable compost based solely on color or temperature. Tracking temperature changes and moisture throughout processing avoids relying on a single day’s sampled condition.

Monitor effects on plants in the field

Compare soil organic matter, pH, leaf color, yields, disease, and other indicators between treated and untreated plots, and examine fertilizer reductions and effects on soil water retention.

Even if yields increase in the short term, monitor for excess nutrients or disrupted acid-base balance over several years.

Key point:Linking quality test results with the fields and quantities applied makes useful quantities easier to track. A record of transport to farmland alone does not establish how many kilograms of fertilizer purchases were avoided.

Quality parameterPurposeCaution
Moisture contentStabilityDistinguish from wet weight
pHSoil suitabilityLime effects
C/NMaturity and decompositionDo not assess in isolation
NPK and other nutrientsFertilizer valueExcess application
Odor/temperatureDecomposition statusBeware of single-time measurements
Pathogens and other parameters when neededSafetyDepends on intended use

Fifteen. Protect workers and neighboring communities

Hydrated lime requires measures appropriate to the substance

The source describes a plan for workers applying material to farmland to use suitable protective equipment. The US CDC/NIOSH information on hydrated lime warns of irritation to the eyes, skin, and respiratory tract, as well as eye and skin damage. The substance is calcium hydroxide, distinct from calcium oxide, or quicklime. Similar names do not mean identical properties or handling requirements.

On site, arrange measures to prevent dispersal, protective equipment, storage, handwashing, eyewashing, and emergency contacts in line with safety information for the product used. This does not mean that adding more chemical improves treatment. Worker protection and verification of wastewater treatment performance require separate arrangements.

Odors and flies provide early warning of processing problems

Excess moisture, anaerobic conditions, and treatment delays can increase odors and flies. Review drainage, turning, and feedstock residence time instead of relying indefinitely on lime to suppress them.

Recording neighbors’ complaints and comparing their timing with wind direction and processing activities makes causes easier to identify.

Key point:Include working conditions and the surrounding environment in the same residue-management plan.

Sixteen. Connections with national policy and general good practices

The agriculture ministry describes using organic matter on coffee fields

El Salvador’s Ministry of Agriculture and Livestock (MAG), in its May 31, 2023, guidance on good coffee-growing practices, lists pulp, compost, and pruned branches as materials for replenishing soil organic matter. It also discusses rainfall records, water availability, and soil conservation. It provides a reference for considering farmland use of residues together with water and land management.

However, MAG’s general recommendations do not certify San Rafael’s compost quality or effectiveness. Facility-specific data are still needed.

Separate materials before they become mixed

MARN’s 2012 guidelines on source separation and collection centers describe separating materials where they arise and directing them toward reuse or composting. Separating coffee residues before plastic fragments or other waste become mixed in can reduce contaminants later taken to farmland. These guidelines are a general reference on separation.

The 2012 guidelines cannot simply be used as the full text of current law in 2026 or as San Rafael’s individual permit conditions. The ministry’s facility record, general agricultural guidance, and technical materials checked for this article serve different roles. This article does not claim to have verified individual permit renewals or conditions for selling materials as fertilizer.

Key point:Connect the three stages of separation, process management, and farmland use. Even a generally recommended method requires site records to establish whether it is properly implemented at that facility.

Seventeen. Compare related systems and initiatives

The article on El Salvador’s waste law concerns a national system

The SDGs site’s article on El Salvador’s waste law covers national separation and recycling systems. This article concerns coffee residue processes at one facility, San Rafael in Juayúa.

The article on geothermal food drying describes a separate food-processing and energy example; its residue-use results are not added to this facility’s.

International comparisons reveal conditions for choosing uses

Agricultural residues in Costa Rica, Uruguay’s Biovalor, and PermaFungi provide comparisons of producing other products, energy, or food from residues.

When comparing examples, first distinguish fresh fruit skins, dry husks, and spent grounds remaining after coffee brewing. Different moisture contents, compositions, available quantities, and storage periods affect suitable uses even for materials collectively called coffee residues. A business that works in another country cannot simply be imported without examining equipment and market conditions.

Key point:The purpose of comparison is to learn the conditions for selecting the safest, most practical, and most economical local destination, rather than merely increasing the number of uses.

ComparisonDifference from this articleWhat can be learned
El Salvador’s waste lawNational systemSeparation and responsibility
LaGeo food dryingGeothermal useEnergy boundary
Costa Rican residuesDifferent country and initiativeComparison of uses
Uruguay BiovalorSeveral demonstrationsConditions for commercialization
PermaFungiSpent coffee groundsAdding value
San RafaelWet-processing byproductsComposting and water treatment

Eighteen. What is known and which figures would establish results

An existing facility and a specific circular-use plan can be confirmed

The public materials checked on November 23, 2026, provide specific facility information for San Rafael and a processing and residue-treatment plan for the 2019/2020 harvest. They describe feedstock quantities, the processing mix, expected pulp, draining, transport to farmland, and wastewater treatment routes. Much of this describes future operations, however, rather than results demonstrated when the record was prepared.

Within this review, no recent annual data were found on actual processing quantities, finished-compost output, wastewater quality before and after treatment, quantities actually applied to farmland, or effects on soil and yields. The source also contains inconsistent calculations for rainwater use and area. Precise quantitative comparison requires supplementary original drawings or operating records.

Calculating with the source’s figures reveals points needing further checks

The following table contains arithmetic using the source’s numbers, not new measurements. Consistent calculations help explain denominators; inconsistencies identify where additional information is needed. Where it is unclear whether a discrepancy is a typo or a difference in scope, this article does not invent a single correct value to fill the gap.

Figures comparedSimple calculationWhat it shows and its limits
Washed: 500 qq × 30 L/qq15,000 L = 15 m³Matches the wastewater estimate at the time; do not multiply by 1,000 qq for all methods
0.88 m³/day × 65 operating days57.2 m³Does not match the stated annual 53.53 m³; reason unverified
Areas: 9 + 40 + 70 + 240 m²359 m²Does not match the stated 289 m² in use; inclusion of the 70 m² nursery is insufficiently explained
Main wastewater tanks: 1 + 6 + 6 m³; separate tank: 1.2 m³Total: 14.2 m³Nominal total including separate routes, not a single effective treatment capacity
Planned processing: 1,000 qq ÷ installed capacity: 2,500 qq40%Ratio of planned values, not an actual utilization rate

The area breakdown is 9 m² for draining, 40 m² for compost treatment, 70 m² for the nursery, and 240 m² for drying beds. Excluding the 70 m² nursery gives 289 m², but it is unclear whether the source intended this scope. This article uses only the stated 40 m² treatment area and does not calculate its share of the whole facility or a definitive production capacity per unit of area.

Distinguish quantities treated from quantities providing benefits

Avoid excessive indicators at the outset. Connect three groups: feedstock received; solid residues generated, treated, and transported out; and wastewater volume, quality, and farmland use. Adding quality tests, soil data, fertilizer purchases, and workload then makes it easier to distinguish increased treatment, simply increased production, and actual benefits on farmland.

Also check fertilizer substitution, soil organic matter, and coffee yields and quality, assessing waste reduction and agricultural benefits separately.

Key point:The lesson from this case is to examine not only the destination on farmland but also the preceding draining, treatment, quality checks, and transport. The plan is specific, but the scale of environmental improvement can only be assessed once actual results and measurements are available.

Assessment item2019/20 materialNeeded from 2026 onward
Feedstock quantityPlanned: 5,000 qq uvaActual results
PulpExpected: 2,700 qqActual generation and dry matter
CompostProcess planFinished quantity and quality
Agua mielTreatment planFlow and water quality
ReusePlanned field useActual application quantity and area
Agricultural effectsAnticipatedSoil, yields, and fertilizer substitution

An implementation audit should track a single material balance from receipt during the harvest through final use. Record daily coffee-cherry receipts, allocations to washed, honey, and natural processing, product quantities, pulp, sediment, compost transported out, and agua miel treated within a consistent system of units. Keeping only separate forms for each process obscures where residues moved between stages.

Align units for feedstock and products

In the source, qq uva refers to harvested cherries and qq oro to green-coffee equivalent. The difference between the planned 5,000 qq and 1,000 qq cannot be interpreted as 4,000 qq of waste generated: moisture is lost during drying, and skins, husks, and other materials separate during processing. Likewise, the 54% obtained by dividing 2,700 qq by 5,000 qq cannot be called a recycling rate. The ratio of expected generation differs from the proportion actually reused.

Not all weight lost during draining should be counted as waste reduction, because dissolved organic matter may have moved into the liquid with the water. Comparing reduced solids, increased liquid, and their respective treatment destinations distinguishes apparent weight loss from an actual reduction in the final burden. This is an assessment method developed in this article from the process description, not performance already reported by San Rafael.

In the composting area, record each batch’s input date, pulp weight, lime and other additions, turning dates, temperature, moisture, odors, and removal date. Adding successive batches to one pile obscures residence times; separating areas or lot numbers makes auditing easier.

Check overlapping harvest peaks and storage needs

Assessing whether 40 m² is sufficient requires considering the busiest days, not just the average over the 65-day harvest season. The source’s 10–15 days are also a planned treatment duration. If quality checks delay removal, material overlaps with the next arrivals. A site diagram separating walkways, untreated material, material under treatment, and material awaiting removal provides more operational insight than area alone.

Record the product name, quantity, and application point for hydrated lime actually used on site. A weight ratio for pulp and an addition per 1 m³ of wastewater have different denominators. Combining them in a single lime-quantity field obscures which process consumed the chemical. Measures against eye or skin contact and airborne dust should be arranged using NIOSH’s substance information and the safety information for the actual product used.

Even when solid-material analyses establish nutrient content, values differ depending on whether they are expressed per kilogram of wet or dry material. Retain units and measurement bases on test reports and relate them to the actual weight transported to farmland. The presence of nitrogen, phosphorus, and potassium also does not mean that crops can use all of those nutrients when needed. Whether fertilizer purchases can be reduced must be assessed through soil and crop results.

Verify wastewater improvements through both concentration and volume

When comparing COD or other concentrations, align sampling locations and timing. As an illustrative example, halving concentration while doubling volume leaves the load, concentration multiplied by volume, unchanged. Conversely, halving water volume through conservation while doubling concentration does not establish a reduced load. These examples explain the relationship between volume and concentration; they are not San Rafael’s treatment results.

Checking 12-hour treatment requires distinguishing the start of tank filling, the arrival of the last water, mixing time, and the start of discharge. In a continuously filled tank versus a tank treating a collected batch, the same 12 clock hours do not mean every portion received the same treatment duration. The source’s wording alone cannot reconstruct actual operation, so process diagrams and operating records must be read together.

The plan gives an estimate for 15 m³ of wastewater and assumes an increase to 45 m³ in the future, but these figures alone do not establish the future washed, honey, and natural processing mix. Scaling the current planned mix directly to installed capacity of 2,500 qq does not necessarily reproduce the source’s future wastewater estimate. It should therefore not be portrayed as a single confirmed expansion scenario.

A large total rainwater storage capacity alone does not prove water self-sufficiency throughout the harvest. For example, if rainfall and processing occur at different times, the amount remaining at the start matters. Separating roof collection, overflow, water used in washing and other activities, and recirculated water avoids counting the same water repeatedly as new supply.

Compare transport, costs, and quality over the same period

When comparing workloads, include transferring solids, filling containers, distributing material on farmland, and cleaning, as well as machinery operating time. The plan describes transporting wastewater by vehicle in 1 m³ plastic containers, then transferring it into smaller containers for application on the fields. Even over short distances, repeated transfers increase labor, so distance alone cannot determine cost or safety.

For cost comparisons, decide whether the full cost of shared buildings and vehicles is allocated to residue treatment or divided according to usage. Compare treatment areas, working time, materials, analyses, transport, and land costs against actual avoided disposal and fertilizer-purchase costs in the same year. As the public materials lack these actual amounts, this article does not estimate profitability or a payback period.

What to check in a new report

If new results are published, first check that the reporting period and facility match. Company-wide figures, totals for several farms, and San Rafael alone have different scopes. Results after an equipment upgrade should also not be presented as results of the old process. Retaining the planning baseline and changes after implementation enables readers to follow improvements.

Quality testing requires sampling suited to the question. Sampling only a pile’s surface when assessing all its compost, or only clear supernatant when assessing all wastewater, limits what the results mean. Retain sampling locations, dates, process stages, and test methods with the results, and compare values measured under consistent conditions.

A result of not detected does not mean that a substance is entirely absent; it may be below the method’s detection limit. Confusing mg/L with g/L also introduces a factor of 1,000. When presenting test results, retain units, methods, detection limits, and the distinction between pre- and post-treatment, without selecting only convenient figures.

A plan for on-farm use differs from selling fertilizer products externally in the parties receiving quality information and the scope of responsibility. Any future expansion to external use would require renewed checks of feedstock, treatment, storage, testing, labeling, and destination conditions. The 2019 environmental record cannot establish that a product is currently authorized for sale or suitable for every field.

Before harvest, check the destination after materials are received. Even with treatment supplies available, storage can lengthen if vehicles, receiving plots, weather, and workers are not available for farmland transport. A halt at draining, treatment, or removal causes residues to accumulate. It helps to identify responsible personnel at each stage and conditions for adjusting intake.

For organizing quantities, FAO AQUASTAT’s wastewater methodology also offers a useful distinction between quantities generated, collected, treated, and directly reused. However, it primarily concerns municipal wastewater statistics at the national level, not water-quality standards for coffee mills. This article refers to it only to avoid grouping quantities from different stages into a single reuse figure.

Nineteen. Frequently asked questions

Question one. Has San Rafael produced 2,700 qq of compost?

No. Approximately 2,700 qq is expected pulp generation in the plan for the 2019/2020 harvest. Its moisture basis is also unclear. It is neither finished-compost output nor a result for 2026.

Question two. What is the planned use for the pulp?

The plan involves three days of draining, treatment in a 40 m² area, transport approximately 650 m to Finca Los Naranjos, and farmland use. The source states that equipment was at the testing stage when it was prepared. The number of years this process was subsequently sustained cannot be verified.

Question three. Is the pulp also used as feed?

San Rafael’s MARN audit does not establish this. Separate verification of safety, composition, animal species, feeding quantities, and other requirements would be needed.

Question four. Is it used as fuel?

The audit record does not establish this. Pulp with high moisture content also requires consideration of drying energy and exhaust-emission management.

Question five. Is agua miel applied directly to fields?

The source describes planned farmland use after settling and hydrated-lime treatment. It does not mean untreated wastewater can be applied. Without post-treatment water-quality measurements, the specified quantity and duration alone also do not establish verified safety.

Question six. Does 40 m² provide sufficient treatment capacity?

No. The 40 m² figure is an area. Treatable weight cannot be calculated without pile height, walkways, material density, required treatment duration, and peak-harvest intake.

Question seven. Does 100% rainwater use continue in 2026?

This has not been verified. The earlier record describes rainwater-use facilities but provides no 2026 water use by source or operating records. A numerical inconsistency between daily and annual quantities also remains.

Question eight. What are the most important assessment items?

For the same harvest season, connect feedstock and method-specific quantities, pulp generation, treatment and farmland-use quantities, and wastewater volume and quality before and after treatment. Soil and crop effects and changes in fertilizer purchases also help distinguish simply relocating material from providing actual benefits.

Twenty. Main primary and official sources

1. MARN | Environmental audit record NFA824-2019, Beneficio Ecológico San Rafael. The basis for the 2019/2020 harvest plan, testing stage, equipment, pulp, wastewater, and rainwater. Not operating results for 2026.

2. MAG | Guidance on good coffee-growing practices. May 31, 2023. General guidance on applying organic matter and managing rainfall, water, and soil; not certification of an individual facility.

3. FAO | Manual de compostaje del agricultor. By Román, Martínez, and Pantoja, 2013. A technical reference on composting stages, process management, maturation, and quality checks.

4. MARN | Lineamientos para impulsar la separación desde el origen y aprovechamiento de residuos sólidos. February 2012. General principles of source separation, reuse, and composting; not used to verify current legislation.

5. CDC/NIOSH | Calcium hydroxide. Substance information reviewed in 2019. A reference on hydrated lime’s effects on the eyes, skin, and respiratory tract, and prevention of contact.

6. Gebru, Chichaibelu, and Reed | Experiments on coffee-pulp processing methods, varieties, treatments, composition, and in vitro digestibility. PANESA/ARNAB conference proceedings from 1990, hosted by FAO. Research on Ethiopian materials, not a feeding trial at San Rafael.

7. FAO AQUASTAT | Wastewater methodology. A methodology for national wastewater statistics. Cited only for the distinction between generation, collection, treatment, and reuse.

8. FAO | Waste and circularity. An overview of using agricultural residues for soil, feed, energy, and other purposes; not evidence of San Rafael’s individual results.

Checked November 23, 2026. The main facility source is a plan for the 2019/2020 harvest. Inconsistent figures within the source are identified as such, without speculative corrections. General technical explanations, reference photos from other countries, and illustrative calculations are distinguished from San Rafael’s measurements and current operating conditions.

Profile photo of Maki

Written by Maki

Maki writes for the SDGs section of Green City LAB – Environmental Technology Lab, introducing initiatives by countries, the United Nations and companies around the world. Each article checks primary sources and explains how an initiative works and where its challenges lie, in plain language.

Our editorial policy / Contact (main site)

Publication and evidence dates
English edition published
Copied title and URL