<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2025-10-31</periodOfReport>

    <notSubjectToSection16>1</notSubjectToSection16>

    <issuer>
        <issuerCik>0001733294</issuerCik>
        <issuerName>Generation Bio Co.</issuerName>
        <issuerTradingSymbol>GBIO</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001907682</rptOwnerCik>
            <rptOwnerName>Paone Antoinette</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O GENERATION BIO CO., 301 BINNEY ST</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>CAMBRIDGE</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02142</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>CHIEF OPERATING OFFICER</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable></nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes></footnotes>

    <remarks>The reporting person will no longer serve as Generation Bio Co.'s chief operating officer effective October 31, 2025. As a result, the reporting person is no longer subject to Section 16 in connection with her transactions in the equity securities of Generation Bio Co. and therefore will no longer report any such transactions on Form 4 or Form 5.</remarks>

    <ownerSignature>
        <signatureName>/s/ Shawna-Gay White, Attorney-in-Fact</signatureName>
        <signatureDate>2025-10-31</signatureDate>
    </ownerSignature>
</ownershipDocument>
