
Your supervisor, funder or target journal has asked for a preregistration, and you have opened OSF for the first time. What do you file, where do you click, and what can never be changed afterwards? This guide walks you through how to preregister a study on OSF, from choosing a template to citing the registration in your manuscript.
Preregistration sits beside the methods decisions in our guides on writing the methodology section, avoiding sampling bias and choosing the right statistical test: you write those decisions down in advance instead of reconstructing them afterwards.
Preregistration means recording your study plan — hypotheses, design, sampling and analysis — in a public registry before you collect or analyse data. On OSF, run by the nonprofit Center for Open Science, that record is a registration: a frozen, timestamped snapshot that cannot be quietly edited once submitted.
The point is not bureaucracy. A timestamped plan separates what you predicted from what you discovered. Without it, it is easy — often unconsciously — to adjust hypotheses after seeing results or quietly drop outcomes that did not cooperate, and readers cannot tell from the finished paper. With a registration, they can: the plan is dated, and any change is visible.
An OSF registration differs from an ordinary OSF project: a project is an editable workspace; a registration is the locked copy. Once public, it receives a DOI you can cite in your methods section, so reviewers can open the exact plan you filed.
Because a submitted registration cannot be edited, the real work happens before you open the form. Settle these points first:
1. Your hypotheses, stated so they can fail. "Social media affects wellbeing" cannot be tested. "Adults who reduce social media use to 30 minutes a day for three weeks will report higher life-satisfaction scores than a control group" can. (This example is illustrative.)
2. Your design and sampling plan. Who or what you will study, how they will be recruited, your target sample size and its justification, and your stopping rule — when data collection ends.
3. Your variables and measures. Name each variable, how it will be measured, and which one is the primary outcome. If you will use a questionnaire, name it.
4. Your analysis plan. Which test answers which hypothesis, how you will handle missing data and outliers, and which analyses are confirmatory versus exploratory. Our guide on choosing the right statistical test helps here.
5. Ethics approval. Most registries and journals expect approval in place or in progress. Our guide on writing an ethics application covers the process; the principles are in our publication ethics page.
Write these decisions down first and share them with co-authors — every admin contributor must approve the registration, so disagreements are cheaper to resolve in a draft.
Step 1: Create an OSF account and start a draft. Sign in at osf.io, open My Registrations and select "Add a Registration". Choose No to start from scratch, or Yes to register an existing project (only projects where you are an admin appear). You can also start from a project's Registrations tab.
Step 2: Choose a template. OSF offers several registration forms for different designs (covered in the next section). For a standard quantitative study, the OSF Preregistration template is the safest default. Check first whether your target journal or funder names a specific template.
Step 3: Complete every required section. Drafts autosave under My Registrations, so you can build the form over several sessions. Nothing is locked until you formally register — have co-authors read every field as if they were reviewers.
Step 4: Review and submit. When all required fields are complete, review your answers and select "Register". At this point you choose visibility: public immediately, or under embargo (see below).
Step 5: Admin approval. Every admin contributor gets an email notification and 48 hours to approve or reject. If nobody rejects it, OSF approves automatically after 48 hours. The registration date is your submission date, even though approval can take two days.
Step 6: Cite it. Once public, the registration has a DOI. Cite it in your manuscript and grant reports so reviewers can compare the finished study against the plan.
OSF does not force one form on everyone. The main options include:
OSF Preregistration — the general-purpose template for quantitative studies; the recommended starting point. AsPredicted — a shorter eight-question form. Qualitative Preregistration — for qualitative and mixed-methods designs. Secondary Data Preregistration — for existing datasets, documenting what you already know. Generalized Systematic Review — for reviews and meta-analyses. Registered Report Protocol — for a journal's Stage 1 Registered Report (explained below).
Two practical rules. Structured templates beat the flexible Open-Ended Registration for most studies, because structured fields make your registration easier to find and check. And if unsure, use the standard OSF Preregistration template rather than delaying: a good plan filed on time beats a perfect form filed after data collection.
The following mini-example is illustrative — invented to show the level of detail a strong registration contains, not a real study.
Research question: Does a structured revision timetable improve exam performance in first-year veterinary students? Hypothesis (H1): Students randomised to the timetable group will score at least five percentage points higher on the anatomy exam than the usual-revision control group. Design: Two-arm parallel randomised study. Sample: Consenting first-year students; target 120 (60 per group) from a power calculation for a medium effect. Stopping rule: Recruitment closes two weeks before the exam; no interim analysis. Primary outcome: Anatomy exam percentage. Analysis: Independent-samples t-test; withdrawals before the exam are excluded from the primary analysis and reported in a flow diagram; subgroup analyses are exploratory and labelled as such.
Notice what this example does: the hypothesis names a direction and a size, the sample size has a justification, the stopping rule prevents "collect more data until it is significant", and exploratory work is fenced off in advance. A reviewer can tell exactly which results were predicted and which were found along the way.
Contrast a weak registration: "We will study revision habits and exam performance using appropriate statistical tests." Every phrase can be reinterpreted after the results are known, so the timestamp protects nothing. Specificity is the whole value.
The core sections of the OSF Preregistration template, what belongs in each, and the mistake that most often weakens them:
| Section | What to write | Common mistake |
|---|---|---|
| Hypotheses | Directional, testable predictions naming the variables and the expected direction | Vague claims ("X affects Y") that any result can satisfy |
| Study design | Design type, conditions or groups, and randomisation or blinding if any | Naming the design without saying how groups are formed |
| Sampling plan | Who or what is studied, recruitment route, target sample size with justification, stopping rule | A sample size with no justification and no stopping rule |
| Variables | Each variable, how it is measured, and which outcome is primary | Listing measures without saying which one decides the hypothesis |
| Analysis plan | The test for each hypothesis, missing-data and outlier rules, confirmatory vs exploratory split | "Appropriate statistical tests will be used" |
| Other / deviations | Anything not covered above, and where you will log changes | Leaving it blank, then changing the plan silently |
At submission you choose: public immediately, or embargoed. An embargo can run up to four years: the timestamp locks at once, but the content stays hidden until the embargo ends or you end it early. This suits competitive fields, studies where participants could be influenced by the hypotheses, or funder requirements demanding registration before data collection but not immediate publicity.
Three details matter. A DOI is issued only for public registrations, so an embargoed one has none until it becomes public. Once public, a registration cannot be embargoed again. And the registration date is the submission date, not the approval date, so the 48-hour admin window does not weaken your timestamp.
Decide before you submit: visibility is part of the registration choice. If in doubt, public is the more transparent default — the purpose of preregistration is that others can check your plan.
These two are often confused, and the difference is who reviews the plan. A plain OSF preregistration is self-filed: you write the plan, OSF timestamps it, and nobody judges its quality. It proves what you intended, nothing more.
A Registered Report adds journal peer review. You submit your protocol to a journal before collecting data; reviewers assess the question and methods. If the journal provisionally accepts it — in-principle acceptance — it commits to publishing the finished paper if you follow the approved plan and report honestly, whatever the results show. On OSF, the Registered Report Protocol template files that accepted protocol.
Choose preregistration for a fast, lightweight timestamp. Choose a Registered Report when your target journal offers the format and you want the publication guarantee and reviewer feedback before spending money on data collection.
Real studies deviate from plans. Equipment fails, recruitment falls short, a measure turns out to be unusable. Preregistration does not forbid changes — it requires you to show them.
OSF supports two mechanisms. First, a registration update: an admin requests an update, states a justification, and edits only the fields being revised. Updates use the same approval process (automatic after 48 hours, or earlier if all admins approve); files cannot be added or removed. The original stays intact — the amendment is a separate, timestamped revision, never a silent overwrite.
Second, keep a deviation log during the study: a dated note of everything that departed from the plan, when, and why. "12 March: recruited 94 of the target 120 students because the second cohort withdrew; analysis unchanged." Report each deviation in your paper and say how it might affect the results. Disclosed deviations are normal science; undisclosed ones, found by comparing paper to registration, damage trust.
One last resort exists: withdrawal. It removes the registration's content and files but leaves basic metadata — title, contributors, DOI, justification — visible. It needs all admins' approval and is irreversible, so treat it as a response to genuine error, not a way to start over.
Registering after peeking at the data. A plan written after you have seen the results timestamps nothing meaningful. If data already exist, use the Secondary Data template and state honestly what you had accessed.
Writing hypotheses that cannot fail. If every possible result confirms your prediction, the registration adds no credibility. Name the direction, the measure and, where you can, the size of effect you expect.
Skipping the stopping rule. Without one, "we stopped when the results looked clear" is indistinguishable from optional stopping. State when data collection ends before it begins.
Treating the form as a formality. Reviewers do open registrations. A specific plan strengthens your paper; a vague one invites suspicion that the analysis was chosen after the fact. If your methods are not yet settled, see our guide on writing the methodology section first.
Done well, preregistration takes an afternoon and protects months of work: hypotheses dated, analysis defensible, deviations documented rather than discovered. File the plan before the data, and let the timestamp speak for you.
These sources document the OSF registration workflow, templates, embargo and update rules described in this guide:
What is preregistration on OSF?
Preregistration on OSF means filing a timestamped, frozen record of your study plan — hypotheses, design, sampling and analysis — on the Open Science Framework before you collect or examine your data. Once submitted, the registration cannot be quietly edited, so readers can verify what you planned in advance.
When should I preregister my study?
Preregister before you collect your data, or — for existing datasets — before you run any analysis that could influence your hypotheses. The value of the timestamp comes from the plan being fixed in advance. If data collection has already started, disclose exactly what you had seen when you registered.
Can I edit my OSF registration after submitting it?
Not directly. OSF registrations are frozen once submitted, which is the point of the timestamp. If something genuinely changes, you can request a formal registration update with a written justification; updates are approved automatically after 48 hours. Files cannot be added or removed in an update, and the original stays on record.
What is the difference between preregistration and a Registered Report?
A preregistration is a timestamped plan you file yourself, with no review of its content. A Registered Report adds journal peer review: editors review your protocol before data collection and provisionally accept it, so the paper is published regardless of results if you follow the approved plan.
Can I keep my OSF preregistration private?
Yes. At submission you can place the registration under embargo for up to four years. The timestamp is locked immediately, but the content stays hidden until the embargo ends or you end it early. A DOI is issued only once the registration becomes public, and a public registration cannot be embargoed again.
What should I do if I deviate from my preregistered plan?
Report it openly. Keep a deviation log during the study noting what changed, when and why, then disclose each deviation in your manuscript and explain its likely effect on the results. Deviations are normal in real research; hiding them is what damages credibility. Reviewers expect transparency, not perfection.
Submit your manuscript ← Back to GAP Insights
Useful publishers, databases, funders, tools and institutions for researchers: