You can boost the Farming level for most quest and diary requirements, but only if the requirement is a visible level check you can meet at the moment of the check — and the usual route is a garden pie, which adds +3 Farming. The key ambiguity in your question is which quest you mean and whether the level gate is a hard requirement or a soft one; the answer below covers what is generally true across OSRS, and I will flag where the details depend on the specific quest, since no passage or quest name was supplied.

The core mechanic: visible levels and temporary boosts

Old School RuneScape distinguishes between your base (real) level and your visible (boosted) level. Most skill requirements in quests are checked against the visible level at the moment you talk to the NPC, enter the area, or interact with the object. That is why a skill boost can let you start or finish a quest even though your actual level is lower. Farming is unusual among skills in that it is normally trained slowly and passively, so boosts are especially attractive for quests.

The standard Farming boost is the garden pie, which raises Farming by +3 (and, in the game's usual design, can push you above your base level). A common example: a quest that requires 30 Farming can often be started at 27 Farming with a garden pie, because the visible level reads 30 when the check happens. This is the answer most players are looking for when they search "can you boost farming level for quest."

Why farming boosts are more restrictive than combat boosts

Combat skills are boosted constantly — potions, prayers, and special attacks routinely push visible levels well above base. Farming is different for two reasons.

First, the boost items are limited. Garden pie is the main accessible one; there is no Farming equivalent of a super attack potion that stacks with everything. The boost is a flat +3, not a percentage, so it does not scale with your level.

Second, and more important, many Farming requirements are not simple level checks. Farming shows up in quests mostly as a plant-and-grow task: you must plant a seed, wait for it to grow, and sometimes harvest it. A boost does not help you plant something whose seed requires a higher level than your base, because the planting action itself may be gated, and it certainly does not speed up growth. So the honest distinction is:

Level-gate checks (e.g., "you need 30 Farming to start this quest" or to receive a reward) — a garden pie can often satisfy these. Action-gated tasks (plant this specific seed, grow this specific crop) — boosts are unreliable or useless, and you usually need the real level.

This is where players get confused: they read "boost Farming for a quest," try a garden pie, and find it works for one quest but not another, because the two quests gate differently.

Practical approach

If your target quest only lists a Farming level in its requirements and the task is talking to an NPC or similar, try a garden pie and check the quest journal or the NPC dialogue. If the quest expects you to actually grow something, plan to train Farming to the real level — boosts will not substitute for growth time. Because the specific quest was not named, I cannot confirm which category yours falls into; the safe move is to check whether the requirement is "level X Farming" (boostable) or "grow/harvest X" (not boostable).

One more caution: temporary boosts wear off, and quest steps can be interrupted. If a level check happens after a cutscene or a delay, the boost may have expired. Carry a spare pie and re-boost before the critical interaction.

Bottom line

Yes, you can often boost Farming for quest requirements using a garden pie (+3), but only for visible level checks — not for tasks that require actually planting or growing a specific crop at a level above your base. The exact answer depends on the quest, which was not specified.