"But when you fast, put oil on your head and wash your face, so that it will not be obvious to others that you are fasting, but only to your Father, who is unseen; and your Father, who sees what is done in secret, will reward you."
— Matthew 6:17-18
Quick Answer
Fasting from something other than food, like social media, entertainment, or shopping, applies the same biblical principle behind fasting: temporarily setting aside something good to focus more fully on God (Matthew 6:16-18). The point is not the specific object given up but the heart posture of seeking God above lesser comforts.
Fasting Is Bigger Than Food
Whenever Scripture speaks of fasting, it usually means abstaining from food for a set time in order to seek God more earnestly, whether in grief, repentance, urgent need, or worship (Joel 2:12, Nehemiah 1:4). Food is the classic example precisely because it is such a basic, constant appetite; setting it aside forces the body and soul to notice hunger and turn that hunger toward God instead.
The underlying principle, however, is broader than food itself: temporarily denying yourself something good and regularly relied upon in order to give that attention to God. Many believers apply this same principle to other appetites that occupy significant space in daily life, social media, television, shopping, video games, or any habit that has quietly become a comfort you reach for instead of God.
What Scripture Does and Doesn’t Say
The Bible never commands fasting from social media, obviously, since these particular habits did not exist. But it does establish the underlying logic that makes such a fast meaningful. Paul describes the Christian life as one of ongoing self-discipline, saying he disciplines his body and keeps it under control so that after preaching to others he himself will not be disqualified (1 Corinthians 9:27). Anything that has begun to master you, even something morally neutral, is worth examining and, at times, temporarily setting aside (1 Corinthians 6:12).
This is different from simply giving something up for self-improvement, like a New Year’s resolution. A biblical fast, in whatever form, aims specifically at deeper communion with God, not merely better habits for their own sake.
Why Modern Comforts Need This Discipline
Food is not the only thing that can dull spiritual hunger. Constant entertainment, endless scrolling, and background noise can fill every quiet moment of a day, leaving little space for prayer, Scripture, or simply sitting with God. Jesus regularly withdrew to solitary places to pray (Luke 5:16), modeling the value of stepping away from ordinary noise, not because it was sinful, but because it competed for attention with something more important.
Fasting from a habit like social media or entertainment can expose how much you have leaned on it for comfort, distraction, or identity, things only God was ever meant to supply.
How to Do It Well
Jesus assumes his followers will fast, saying “when you fast,” not “if you fast” (Matthew 6:16), and his primary concern is the heart behind it. He warns against fasting to be seen and praised by others, urging instead a quiet, private discipline aimed at the Father who sees in secret (Matthew 6:17-18). Whatever you set aside, set it aside quietly, and use the time and attention it frees up intentionally, for prayer, Scripture, or serving others, not simply as empty absence.
Set a clear, reasonable timeframe, be honest about your motive, and expect some discomfort. That discomfort is often the point; it reveals what your heart has been running to instead of God.
A Means, Not an End
Fasting from anything, food or otherwise, is a means, not an end in itself. It has no spiritual value apart from what it points you toward. If a fast becomes just another achievement to feel proud of, it has missed its purpose entirely. Done rightly, it is simply a tool that clears space in a crowded life so you can hear God more clearly and want him more than the thing you gave up (Psalm 63:1).
Choosing What to Fast From
Not every believer needs to fast from the same thing, since the point is identifying what has quietly crowded out attention to God in your particular life. For one person that might be social media; for another it might be a demanding hobby, excessive shopping, or even an overfull schedule that leaves no margin for stillness. A helpful diagnostic question is simply: what do I reach for automatically when I feel bored, anxious, or restless? Whatever answer comes quickly is often worth examining as a candidate for a season of fasting.
It can also help to fast alongside other believers rather than alone. Shared fasts, common in many church traditions around significant seasons of prayer, create mutual accountability and remind you that this discipline, while personal, is not meant to be isolated; the early church fasted together as a community seeking God’s direction before sending out Barnabas and Saul (Acts 13:2-3).
Whatever you choose to set aside, remember that the fast itself is never the goal. It is a means of clearing the clutter so you can hear a voice that is often quieter than the noise competing for your attention. Elijah did not find God in the wind, earthquake, or fire, but in a gentle whisper after the noise had passed (1 Kings 19:11-12), a picture worth remembering the next time silence feels uncomfortable.