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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2022-05-23</periodOfReport>

    <issuer>
        <issuerCik>0001380106</issuerCik>
        <issuerName>RAPID MICRO BIOSYSTEMS, INC.</issuerName>
        <issuerTradingSymbol>RPID</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001703469</rptOwnerCik>
            <rptOwnerName>PEI MELINDA LITHERLAND</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O RAPID MICRO BIOSYSTEMS, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>1001 PAWTUCKET BOULEVARD WEST, SUITE 280</rptOwnerStreet2>
            <rptOwnerCity>LOWELL</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>01854</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
        </reportingOwnerRelationship>
    </reportingOwner>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Stock Option (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>4.50</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2022-05-23</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>12500</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F1"/>
            </exerciseDate>
            <expirationDate>
                <value>2032-05-22</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Class A Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>12500</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>12500</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">The option shall vest and become exercisable in full on the earlier of (i) the first anniversary of the Grant Date, or (ii) the day immediately prior to the date of the next annual meeting of the stockholders of the Company provided that the Reporting Person remains in continuous service on such vesting date.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Jonathan Paris, Attorney-in-Fact for Melinda Litherland Pei</signatureName>
        <signatureDate>2022-06-10</signatureDate>
    </ownerSignature>
</ownershipDocument>
