guide12 min read

Steam Achievements for Developers: Setup, Rules and Design

How to add Steam achievements in Steamworks: icons, spoilers, the 100 cap, Achievement Sets and archiving, plus design tips and real game examples.

By Trapster Team

Short answer: You add Steam achievements in Steamworks under Edit Steamworks Settings, Stats & Achievements, Achievements, where each one gets an API name, a display name, a description, two icons and a visibility setting, as Valve's achievements setup guide shows. Your game unlocks them with SetAchievement and StoreStats from the Steamworks SDK, and Valve says the integration takes "under 10 lines of code." New apps are capped at 100 achievements until Valve vets them, then the cap rises to 5,000, and achievements from games that haven't passed Valve's confidence metric don't count toward players' profile totals. Since November 2026 you can also group achievements into Achievement Sets and archive seasonal ones.

How to add Steam achievements, step by step

Everything below comes from Valve's step by step guide and the Stats and Achievements overview. You need permission to edit the app's info in your Steamworks partner group.

  1. Open your app's landing page in Steamworks and click Edit Steamworks Settings.
  2. Go to Stats & Achievements > Achievements and click the banner to open the new achievements editor. It has two tabs: Manage Achievements and Bulk Import/Export.
  3. Create each achievement. Give it an API name such as ACH_WIN_ONE_GAME, a display name, a description and both icons.
  4. If an achievement tracks a count (kill 100 enemies, win 20 matches), create a stat first and link it as the Progress Stat with a Stat Range for 0% and 100%.
  5. Add localized names and descriptions for every language you support. The editor shows a warning icon where text is missing.
  6. Publish from the Publish tab in Edit Steamworks Settings. Editor changes stay in your draft configuration until you do.
  7. Tick Steam Achievements under Supported Features in your store page's basic info.
  8. Call the SDK in your game: SteamAPI_Init() on start, SteamAPI_RunCallbacks() every frame, SetAchievement() plus StoreStats() when the player earns one, and SteamAPI_Shutdown() on exit. Valve's sample helper class comes from its Spacewar example.
  9. Test from the Steam client console. Launch Steam with -console, then use achievement_clear <appid> <achievement name> or reset_all_stats <appid>.

For larger games, the Bulk Import/Export tab takes CSV files. The definitions file holds API names, set IDs, spoiler and archived flags and progress stats. Separate CSVs hold localized names and set names. Icons can be uploaded in bulk if the file names follow API_NAME_ACHIEVED.png and API_NAME_UNACHIEVED.png.

Valve's Steamworks guide lists the achievement icon rules: 256x256 PNG recommended, 64x64 minimum, square only. Source: Steamworks documentation
Valve's Steamworks guide lists the achievement icon rules: 256x256 PNG recommended, 64x64 minimum, square only. Source: Steamworks documentation

Achievement fields and icon specs

Field What it does
API Name Unique ID your code passes to the SDK. Case sensitive in CSV imports.
Display Name, Description Shown to players. Localizable.
Achieved and Unachieved icons Square images. Valve recommends 256x256 PNG, accepts JPG, minimum 64x64.
Set By Client, game server or official game server.
Progress Stat Optional stat that drives a progress bar.
Visibility Visible or Spoiler. Valve renamed Hidden achievements to Spoiler.
Status Available or Archived.
In Set Which Achievement Set it belongs to.

Valve asks for colorful achieved icons and grayscale unachieved icons. The editor has a Generate button that makes the grayscale version for you.

Use Spoiler visibility for anything tied to a story beat, a secret area or an ending. Players can still see that the achievement exists without reading its name in advance.

Progress notifications are worth the extra line of code. Valve's docs suggest calling IndicateAchievementProgress at meaningful milestones, for example at 10 wins on a 20 win achievement, so the overlay shows the player they are halfway there.

Valve's rules and limits

Here is what Valve's docs say you can and can't do.

Rule Detail Source
Achievement cap 5,000 per app, or 100 for apps not yet vetted Setup guide
Set cap 40 sets per app, base game set included Setup guide
Archived achievements Still count toward the cap Setup guide
Release checklist Every achievement needs a name in each configured language and an icon Setup guide
Profile features Games below the confidence metric don't count toward Achievement Collector totals or the Achievement Showcase Profile Features
Deleting Removes the achievement for every player who earned it. Valve recommends archiving Setup guide
Visibility before release Earned achievements don't show in the Community or library until the app is released Overview

The 100 cap and the profile restriction exist because of achievement spam. In 2017 Kotaku listed games built to inflate profile counts, including Zen vs Zombie with 10,361 achievements and Blood Feed with 3,001. In June 2018 Valve applied its confidence metric to achievements, capping unvetted games at 100 and removing them from profile totals and showcases, as Kotaku reported from Valve's developer group post. Valve's quoted reason: "fake games were inflating achievement and game counts for users to display on their profiles."

The confidence metric is automatic. Valve says on its Profile Features page that it is "based on sales and player engagement figures," that reviews, wishlists and playtime don't factor in, and that the check runs "several times per day." Valve also says the status "does not impact how we promote your game on the store." The same gate controls trading cards, which we cover in Steam Trading Cards for developers.

Small legitimate games hit this gate too. In a 2022 data post on Game Developer, Patrick Seibert noted that "Steam is now limiting Profile Features - like publicly displayed Achievements and Trading Cards" in a post about launching a game with no marketing. Your achievements keep working in the game and on its own stats page. They start counting on player profiles once the game sells enough.

One security point from Valve's overview: client-set stats can be manipulated. Set tight min and max values, use Increment Only where it fits, and set Max Change on stats that feed global totals.

Achievement Sets, DLC and archived achievements (new in 2026)

Valve opened a beta for Achievement Sets on October 15, 2026 and released them to all users on November 11, 2026. Sets solve an old problem Valve names directly: achievements added with new content "can accidentally break the completion status of players who have already finished the game."

How sets work for you as a developer, per the setup guide:

  • Base game set. Holds every achievement you haven't assigned elsewhere. You can't rename, delete or reorder it.
  • Custom sets. Open to all players, or to owners of a specific DLC. Valve's examples are single player and multiplayer sets, or 8 class-based sets.
  • DLC sets. Only DLC owners can earn them. They stay hidden until the DLC releases, carry a "DLC" prefix and don't count toward base game completion.
  • Developer-only sets. Visible only to your team, useful for testing.
  • Completion sticks. A completed set stays complete if you add achievements later. Each set gets its own progress bar and a "set complete" trophy on the player's profile.
  • Archiving. Archived achievements stay visible to players who earned them and stop blocking completion for everyone else. Valve says "anytime an achievement can no longer be unlocked by users, it should be archived." Archiving doesn't touch your build, so stop awarding the achievement in code yourself.
Steam's new achievements page splits Portal 2 into Single Player and Cooperative sets, each with its own progress bar. Source: Valve, October 2026
Steam's new achievements page splits Portal 2 into Single Player and Cooperative sets, each with its own progress bar. Source: Valve, October 2026

Valve's beta post listed 17 launch adopters. Indie and AA names include DREDGE, PowerWash Simulator and PowerWash Simulator 2, Against the Storm, He is Coming and Flock Around, alongside Valve's own Portal 2 and Team Fortress 2. PowerWash Simulator is a good model to study because it sells many DLC packs, and DLC sets let those achievements sit apart from the base game. Vampire Survivors shows the scale problem sets fix: its global stats page lists 243 achievements, 40 of them from DLC.

Archiving opens up time-limited achievements. Valve suggests "season-based games" and "time-limited holiday achievements." If you run a Halloween event, a set of event achievements gives returning players a reason to log in, and you can promote it through Steam events and announcements. For pricing and timing of the DLC itself, see our DLC strategy guide.

An archived Halloween Event Achievements set stays on the profile of a player who earned 6 of 8. Source: Valve, October 2026
An archived Halloween Event Achievements set stays on the profile of a player who earned 6 of 8. Source: Valve, October 2026

How to design achievements for retention

Achievements are a free nudge layer on top of your game. A few patterns hold up across games that use them well.

Front-load a few easy ones. The first achievement should pop in the first session. Players get the overlay toast, learn your game tracks progress, and see the next goal. In Balatro, "Ante Up!" for reaching Ante 4 sits at 89.7% on its global stats page.

Use achievements to teach playstyles. Balatro ships only 31 achievements, and many of them push a strategy the player might never try: "Tiny Hands" asks you to thin your deck to 20 or fewer cards (6.9%), and "Rule Bender" asks for any challenge run (14.0%). Each one is a hint dressed as a goal.

Mark the midgame. Players quit in the middle, so put achievements on bosses, biomes or chapters. They also give you free analytics later.

Add progress bars to grind goals. Link a Progress Stat and call IndicateAchievementProgress at milestones. A visible 10 out of 20 keeps players going toward 20.

Spoil nothing. Mark story and ending achievements as Spoiler. Write descriptions that tell the player what to do without telling them what happens.

Keep the count sane. If your game is new, you have 100 slots anyway. A focused list of 20 to 60 is easier to localize, and every one needs a name in every language and an icon to pass the release checklist.

Balatro uses 31 achievements, several of which nudge players toward strategies like thin decks and challenge runs. Source: Steam
Balatro uses 31 achievements, several of which nudge players toward strategies like thin decks and challenge runs. Source: Steam

Use achievement stats to find where players quit

Steam publishes per-achievement completion rates on every game's global stats page, and your code can read them with RequestGlobalAchievementPercentages. If your achievements mark progress milestones, that page is a free drop-off funnel.

Designer Josh Bycer did this with public data in a 2020 Game Developer post. By his reading, Hollow Knight had an 18% clear rate and lost about a third of its players by the first boss. Today Hollow Knight's stats page shows 71.2% for defeating the False Knight and 62.7% for beating Hornet in Greenpath. Bycer treated 30% to 39% clear rates as good and 50% and up as fantastic. That is one analyst's scale, so use it as a rough reference.

The same idea works with any milestone data. TumbleSeed's developers used leaderboard data in their 2017 postmortem to show that 41% of players reached the Jungle, 8.3% reached the Desert and 0.2% beat the game. That cliff matched what critics and players were saying about difficulty.

Read the numbers carefully. A May 2026 FinalBoss.io piece on Crimson Desert's 6.8% story completion rate pointed out that Steam percentages are live and cumulative, so a launch-window figure shifts with sales and patches. Offline play and refunds also skew the base.

Hollow Knight's achievement list on Steam doubles as a public funnel, from 71.2% beating the False Knight to rarer late-game goals. Source: Steam
Hollow Knight's achievement list on Steam doubles as a public funnel, from 71.2% beating the False Knight to rarer late-game goals. Source: Steam

Achievements as marketing

Achievements show up in more places than most developers expect. Your store page lists Steam Achievements as a feature once you tick it. Players can compare progress with up to three friends on the new achievements page, and the update shows completed sets in Recently Played, the Games List and the library. The beta post also says store and library pages now show if a game has achievement sets.

Funny achievements get screenshotted and shared. The Stanley Parable is the classic case. Its stats page lists "Go outside: Don't play The Stanley Parable for five years" at 17.5%, "Unachievable: It is impossible to get this achievement" at 6.1%, and "Commitment" for playing through an entire Tuesday at 2.8%. Each one is a joke that lands in a player's overlay and travels from there, which is the same mechanism as other player-made content.

Rare achievements also give creators a hook. "Only 6% of players got this" is a ready-made video premise. If you brief creators for a campaign, you can point them at a hard achievement as a challenge format in your creator brief.

Don't chase achievement hunters with filler. Games built only for achievement counts are exactly what Valve's 100 cap and profile restrictions target, and players who see 1,000 trivial achievements read it as a warning sign.

FAQ

How do I add achievements to my Steam game?
In Steamworks, go to Edit Steamworks Settings, Stats & Achievements, Achievements, create them in the editor and publish. Then call SetAchievement and StoreStats from the Steamworks SDK where the player earns each one, per Valve's guide.

How many achievements can a Steam game have?
Up to 5,000 per app, but only 100 until Valve vets the app. Archived achievements count toward the limit.

What size should Steam achievement icons be?
Valve recommends 256x256 PNG. The minimum is 64x64, icons must be square, and JPG is accepted. You need an achieved icon and an unachieved one, usually grayscale.

How do hidden achievements work on Steam?
Valve now calls them Spoiler achievements. Players see that the achievement exists, but its details stay hidden until they unlock it.

Why don't my achievements count on players' profiles?
Your game hasn't passed Valve's confidence metric yet. Valve checks sales and player engagement automatically several times a day, and once you qualify, achievements count toward Achievement Collector totals and showcases.

Can I add achievements after launch without breaking 100% completion?
Yes. Put the new achievements in a new Achievement Set. Valve says completed sets stay complete when new ones are added.

How do I reset Steam achievements while testing?
Launch the Steam client with -console and run achievement_clear <appid> <achievement name> for one, or reset_all_stats <appid> for everything.

Sources: Steamworks Stats and Achievements docs, Steamworks achievements setup guide, Steamworks Profile Features page, Valve's Achievement Sets announcements (October and November 2026), Steam global achievement stats pages, Kotaku (2017, 2018), Game Developer (Bycer 2020, Wohlwend 2017, Seibert 2022), FinalBoss.io (2026); checked November 2026.

Get a wishlist forecast for your game

Send us your Steam page. We estimate views, creators and cost per wishlist before you spend anything.

Keep reading