Skip to content
Technology

How to Write a Bug Report Someone Can Reproduce

Describe what you did, what you expected, and what happened instead. Add relevant app or device details, check for an existing report, and leave diagnosis to the people investigating.

3D illustration of a person organizing bug report steps and evidence on a laptop.
A clear report connects the steps taken to the result observed. Illustration.

A useful bug report describes the problem, not a theory

The aim is to help someone else understand what happened and, if possible, see it for themselves.

To write a bug report someone can reproduce, explain what you were doing, what you expected to happen, and what happened instead. Add a short sequence of repeatable steps and the product or device details that may matter. You do not need to identify the cause: a clear account of the symptom is more useful than a confident guess about what is broken.

For example, “The save button is broken” is difficult to investigate. “In the web app, I edited a draft and selected Save. A ‘Try again’ message appeared, and the new text was missing when I reopened the draft” describes actions and observable results. It does not assume the button, server, or account is at fault.

A report may lead to a request for more information, a workaround, or no visible response. Products use different reporting systems and priorities, so a careful report cannot guarantee a fix. It can make the problem easier to understand and assess.

  • State the symptom in plain language.
  • Describe actions and results you directly observed.
  • Mark uncertainty honestly instead of presenting a possible cause as fact.

Check the official channel and look for an existing report

The right place to report a problem depends on the product and the type of issue.

Start with the product’s official help center, support page, or feedback option. Some companies accept reports only through customer support; others maintain a public issue tracker. If you are reporting an open-source project, its official repository may provide an issue form. Do not assume every app has a public tracker or that a public post is appropriate for an account-specific problem.

Before submitting, search the official channel for distinctive words from the error message, the feature name, and a short description of what went wrong. If you find a report that appears to match, read it carefully. Where comments are allowed, add useful new details there rather than creating a duplicate. MDN recommends searching existing reports before filing a browser bug. GitHub may suggest potential duplicates while someone drafts an issue, and a repository may use its own issue template. These are useful examples for browser and GitHub reports, but other products may have different procedures.

For a browser problem, also consider whether the issue might instead involve the website’s code, documentation, or a specification. MDN recommends checking this distinction before filing a browser bug. If you are unsure, describe the visible behavior through the website or product’s official channel rather than trying to diagnose it.

If the issue involves private account data, a payment, or a security concern, use the product’s designated private support or security-reporting route. Follow its instructions about what information to provide; a public tracker is not automatically the right place for sensitive details.

  • Use the product maker’s official reporting route.
  • Search for the error text, feature name, and a brief description.
  • Follow the channel’s template and privacy instructions.

Write steps someone else can follow

A useful sequence begins at a recognizable starting point and includes the actions needed to reach the problem.

Imagine someone opening the product with the same general setup. Could they follow your steps without asking what you clicked first or which screen you mean? Begin with the page, screen, or state you were in, then list each action in order. Use button and menu names as they appear on screen.

For instance, “Open Settings, select Notifications, turn off Email updates, then select Save” is clearer than “Change my settings.” If the issue appears only after a particular sequence—such as signing in, switching accounts, or opening a specific file—include that condition. Leave out actions that do not seem relevant.

If you cannot reproduce the problem every time, say so. You might write, “It happened twice today, but I could not trigger it again.” That is more accurate than making an intermittent issue sound consistent.

  1. Start from a specific screen or state, such as “Open the app and sign in.”
  2. List one action per step, using visible labels where possible.
  3. End with the action that produces the problem and describe what appears.
  4. If safe and practical, repeat the steps and note whether the result happens again.

Separate the expected result from the actual result

The contrast explains what makes the behavior surprising without requiring technical language.

Use two short statements. “Expected” describes what you thought would happen after the steps. “Actual” describes what happened in your attempt. Be specific: “I expected the new title to appear in the document list” is clearer than “It should work.”

For example: “Expected: After I select Save, the edited title appears in the document list. Actual: A confirmation message appears, but the old title remains after I reopen the document.” If you are unsure what should happen, say what you were trying to accomplish and what the product did instead. Support staff can clarify whether that behavior is intended.

Keep interpretation separate from observation. “The server rejected my request” is a diagnosis unless the product displayed that message. “The page showed ‘Unable to save’” reports what you saw.

  • Expected: What result did you anticipate?
  • Actual: What did you see or hear?
  • Impact: What task could you not complete, or what changed?
Turn a vague complaint into an observable report
Less usefulMore useful
“Search is broken.”“After I enter ‘blue mug’ and select Search, the results area stays blank.”
“The update ruined my account.”“After updating the app, my saved list no longer appears on the List screen.”
“The app keeps crashing.”“When I select Export on the open report, the app closes before a file appears.”
Sources for this section[S1] developer.mozilla.org

Add relevant context and evidence

Include details that help distinguish one setup or situation from another, rather than every fact about your device.

Record the product name and, when available, its version. For an app or website, useful context may include the device type, operating system, browser and browser version, or whether you used a mobile or desktop interface. Include details that may be relevant; if you do not know a version number, do not guess.

Attach a screenshot or short screen recording if it makes the behavior easier to understand. Include the full error message as text when possible, since it can be searched or copied. For browser reports, MDN recommends details such as browser version, expected and actual results, and screenshots where useful. Those examples can help with web problems, but an app’s reporting form may request different details.

Inspect attachments before sending them. Screenshots can reveal names, email addresses, message previews, account identifiers, or other private information. Crop or redact details that are not needed and follow the channel’s instructions. Do not include passwords, authentication codes, payment details, or private data just to make a report seem complete.

  • Product name and version, if available.
  • Device, operating system, and browser when relevant.
  • Exact error text and a screenshot or recording, if useful and safe.
  • Whether the issue repeated and any condition needed to trigger it.
Sources for this section[S1] developer.mozilla.org

Make the example smaller when you can

A focused example can make a web problem easier to inspect, but it is not required for every report.

For a website or browser issue, a “minimal test case” means reducing an example to the smallest version that still shows the problem. For example, if a page fails only when one form field contains a particular kind of text, note that condition and leave unrelated content out of your explanation.

You do not need to create a test page or write code if that is outside your comfort level. A concise description of the page, action, and result is still useful. If the issue disappears when you remove a detail, report that observation; do not claim it proves that detail caused the bug.

MDN recommends creating a minimal test case when reporting browser bugs and checking whether the apparent browser issue might instead involve the site’s code, documentation, or a specification. Treat this as practical guidance for web reporting, not a requirement for every app or support request.

Sources for this section[S1] developer.mozilla.org

Use this bug report template

A short structure gives the recipient a route from the starting point to the result you observed.

Use the product’s own form if it requests different information. If there is no template, adapt this outline. Delete fields that do not apply, and keep each answer factual.

  • Title: [What failed, and where?]
  • Product and version: [App or site; version if known]
  • Device and software: [Device, operating system, browser if relevant]
  • Starting point: [Screen, page, or state before the issue]
  • Steps: 1. [Action] 2. [Action] 3. [Action]
  • Expected: [What you thought would happen]
  • Actual: [What happened instead, including exact error text]
  • How often: [Every attempt, sometimes, or happened once]
  • Evidence: [Screenshot or recording, if relevant and safe]
Sources for this section[S2] docs.github.com

Do a final check before submitting

A quick review can remove ambiguity and help prevent unnecessary disclosure.

Read the steps as if you had never seen the problem. Can you identify the starting point, actions, and result? Check that the expected and actual results are distinct, that any error is quoted accurately, and that you have not presented a possible cause as fact. If the report is public, check both the text and attachments for private information.

Submit through the official channel and save the report number or confirmation if one is provided. If support asks a follow-up question, answer with what you observed and any additional steps you tried. If the issue stops occurring or changes, you can add that information where the channel allows it. A submitted report does not guarantee a response or a fix, but clear details give the recipient a better basis for investigating.

  • Can someone follow the steps without filling in missing details?
  • Have you separated observation from interpretation?
  • Have you removed passwords, codes, and unnecessary personal information?
  • Did you use the official channel and follow its template?

Frequently asked questions

Do I need to know how to code to report a bug?

No. Describe the actions you took, what you expected, and what happened. Technical details such as a browser version can help when relevant, but diagnosing the underlying cause is not your responsibility.

What if I cannot reproduce the problem?

Report it as an intermittent or one-time issue. Include the steps and conditions you remember, say that you could not trigger it again, and avoid claiming it happens every time.

Should I report a problem publicly?

Use the product’s official reporting route. Public trackers suit some projects, but account-specific or sensitive concerns may need a private support channel. For security concerns, follow the product’s designated security-reporting instructions.

What should I include in a screenshot?

Show the relevant screen or error clearly, and include only context that helps explain the issue. Check for names, email addresses, messages, or other private information before attaching it.

What if someone has already reported the same issue?

If the report clearly matches and comments are allowed, add useful new details there instead of creating a duplicate. If you are unsure whether it is the same problem, explain the difference briefly through the official channel.

Sources & further reading

Explore the original sources behind this article. Our editorial perspective is separate from the organizations we reference.

  1. [S1] When and how to file bugs with browsers - Learn web development | MDNdeveloper.mozilla.org
  2. [S2] Creating an issue - GitHub Docsdocs.github.com
BEULOG

Your next article starts with an idea.

Bring your brand’s perspective to a workspace built for researching, writing and publishing.

Create your workspace