Skip to content

Your first hackathon: what it is, how to prepare, and what to expect

By DevSafar · Updated November 14, 2026
Short answer
A hackathon is a timed event, usually 24 to 48 hours in person or one to four weeks online, in which individuals or small teams build a working project around a theme and present it to judges. You do not need to be an expert: many hackathons are open to beginners, and a small project that works and is explained clearly does better than an ambitious one that does not run.

What a hackathon is

The organiser sets a theme or a set of tracks, sometimes with sponsor challenges. Teams form, build something during the event window, and submit it with a short description and usually a demo video. Judges score the projects, and prizes range from cash to internships, cloud credits or certificates.
Related formats use the same word loosely. A CTF is a security competition where you solve challenges for points. Competitive programming contests are timed algorithm problems. Data science competitions are scored on a leaderboard. All of these are listed on DevSafar under their own topics.

Picking your first one

Choose an event marked beginner friendly, online or in your own city, with a theme you find interesting. Free events are the norm. A longer online hackathon gives you room to learn as you go; a 24-hour in-person one gives you mentors in the room.

Before the event

  • Read the rules
    Eligibility, team size, what counts as work done before the event, and exactly what you must submit.
  • Set up your tools
    A code editor, a Git repository your whole team can push to, and accounts for anything you plan to deploy on.
  • Agree on a small idea
    Something you can explain in one sentence and demo in two minutes. Decide the one feature that must work.
  • Find teammates
    If you don't have a team, look in the event's Discord or post a request.
    How to find teammates →

During the event

Get a rough version working end to end early, then improve it. Commit often. Keep the last few hours for the demo and the write-up, because judges only see what you show them. Sleep at least a little during an overnight event: tired teams break working code.
Whether or not you place, you leave with a finished project, people you have built with, and something concrete to show on a portfolio.

Common questions

Do I need to know how to code to join a hackathon?

Basic programming helps, but teams also need people for design, research and presenting. Many hackathons are open to beginners and run workshops during the event.

How long does a hackathon last?

In-person hackathons usually run 24 to 48 hours. Online hackathons often run from one to four weeks so that people can take part alongside study or work.

Do hackathons cost money?

Most are free to enter. Some charge a registration fee. Listings on DevSafar are marked free or paid.

What do you win at a hackathon?

It varies: cash, internships or interviews, cloud credits, hardware or certificates. The prize is listed on each event's official page.
DevSafar truck
DevSafar truck