<SEC-DOCUMENT>0000879635-25-000068.txt : 20250403
<SEC-HEADER>0000879635-25-000068.hdr.sgml : 20250403
<ACCEPTANCE-DATETIME>20250403145234
ACCESSION NUMBER:		0000879635-25-000068
CONFORMED SUBMISSION TYPE:	4
PUBLIC DOCUMENT COUNT:		1
CONFORMED PERIOD OF REPORT:	20250401
FILED AS OF DATE:		20250403
DATE AS OF CHANGE:		20250403

REPORTING-OWNER:	

	OWNER DATA:	
		COMPANY CONFORMED NAME:			Paese Joseph L
		CENTRAL INDEX KEY:			0001672207
		ORGANIZATION NAME:           	

	FILING VALUES:
		FORM TYPE:		4
		SEC ACT:		1934 Act
		SEC FILE NUMBER:	001-13677
		FILM NUMBER:		25809010

	MAIL ADDRESS:	
		STREET 1:		2407 PARK DRIVE
		CITY:			HARRISBURG
		STATE:			PA
		ZIP:			17110

ISSUER:		

	COMPANY DATA:	
		COMPANY CONFORMED NAME:			MID PENN BANCORP INC
		CENTRAL INDEX KEY:			0000879635
		STANDARD INDUSTRIAL CLASSIFICATION:	STATE COMMERCIAL BANKS [6022]
		ORGANIZATION NAME:           	02 Finance
		EIN:				251666413
		STATE OF INCORPORATION:			PA
		FISCAL YEAR END:			1231

	BUSINESS ADDRESS:	
		STREET 1:		2407 PARK DRIVE
		CITY:			HARRISBURG
		STATE:			PA
		ZIP:			17110
		BUSINESS PHONE:		8666427736

	MAIL ADDRESS:	
		STREET 1:		2407 PARK DRIVE
		CITY:			HARRISBURG
		STATE:			PA
		ZIP:			17110
</SEC-HEADER>
<DOCUMENT>
<TYPE>4
<SEQUENCE>1
<FILENAME>wk-form4_1743706348.xml
<DESCRIPTION>FORM 4
<TEXT>
<XML>
<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2025-04-01</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0000879635</issuerCik>
        <issuerName>MID PENN BANCORP INC</issuerName>
        <issuerTradingSymbol>MPB</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001672207</rptOwnerCik>
            <rptOwnerName>Paese Joseph L</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>2407 PARK DRIVE</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>HARRISBURG</rptOwnerCity>
            <rptOwnerState>PA</rptOwnerState>
            <rptOwnerZipCode>17110</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Dir. Trust, Wealth Mgmt</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Mid Penn Bancorp, Inc. Common Restricted Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2025-04-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1000</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>2320</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Mid Penn Bancorp, Inc. Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4962</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Mid Penn Bancorp, Inc. Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>2876.633</value>
                    <footnoteId id="F4"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>IRA</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Shares granted in the form of restricted stock which vest ratably over four years.</footnote>
        <footnote id="F2">Shares granted in the form of restricted stock, which vest according to the terms of each respective grant.</footnote>
        <footnote id="F3">Balance includes shares of restricted stock that vested on 4/1/2025.</footnote>
        <footnote id="F4">Balance includes shares acquired through the Dividend Reinvestment Plan.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Joseph L. Paese</signatureName>
        <signatureDate>2025-04-03</signatureDate>
    </ownerSignature>
</ownershipDocument>
</XML>
</TEXT>
</DOCUMENT>
</SEC-DOCUMENT>
