<SEC-DOCUMENT>0001562180-23-008386.txt : 20231214
<SEC-HEADER>0001562180-23-008386.hdr.sgml : 20231214
<ACCEPTANCE-DATETIME>20231214195509
ACCESSION NUMBER:		0001562180-23-008386
CONFORMED SUBMISSION TYPE:	4
PUBLIC DOCUMENT COUNT:		1
CONFORMED PERIOD OF REPORT:	20231213
FILED AS OF DATE:		20231214
DATE AS OF CHANGE:		20231214

REPORTING-OWNER:	

	OWNER DATA:	
		COMPANY CONFORMED NAME:			Baker Thomas C
		CENTRAL INDEX KEY:			0001293295

	FILING VALUES:
		FORM TYPE:		4
		SEC ACT:		1934 Act
		SEC FILE NUMBER:	000-23827
		FILM NUMBER:		231488556

	MAIL ADDRESS:	
		STREET 1:		730 MILFORD ROAD
		CITY:			MERRIMACK
		STATE:			NH
		ZIP:			03054

ISSUER:		

	COMPANY DATA:	
		COMPANY CONFORMED NAME:			PC CONNECTION INC
		CENTRAL INDEX KEY:			0001050377
		STANDARD INDUSTRIAL CLASSIFICATION:	RETAIL-CATALOG & MAIL-ORDER HOUSES [5961]
		IRS NUMBER:				020513618
		STATE OF INCORPORATION:			DE
		FISCAL YEAR END:			1231

	BUSINESS ADDRESS:	
		STREET 1:		ROUTE 101A
		STREET 2:		730 MILFORD RD
		CITY:			MERRIMACK
		STATE:			NH
		ZIP:			03054
		BUSINESS PHONE:		6036832000

	MAIL ADDRESS:	
		STREET 1:		ROUTE 101A
		STREET 2:		730 MILFORD RD
		CITY:			MERRIMACK
		STATE:			NH
		ZIP:			03054
</SEC-HEADER>
<DOCUMENT>
<TYPE>4
<SEQUENCE>1
<FILENAME>primarydocument.xml
<DESCRIPTION>PRIMARY DOCUMENT
<TEXT>
<XML>
<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2023-12-13</periodOfReport>

    <notSubjectToSection16>false</notSubjectToSection16>

    <issuer>
        <issuerCik>0001050377</issuerCik>
        <issuerName>PC CONNECTION INC</issuerName>
        <issuerTradingSymbol>CNXN</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001293295</rptOwnerCik>
            <rptOwnerName>Baker Thomas C</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>730 MILFORD ROAD</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>MERRIMACK</rptOwnerCity>
            <rptOwnerState>NH</rptOwnerState>
            <rptOwnerZipCode>03054</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>Sr. VP, CFO &amp; Treasurer</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-12-13</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>4045.00</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>64.13</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>23603.00</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-12-13</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>955.00</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>64.94</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>22648.00</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">The reported price is a weighted average price. These shares were sold in multiple transactions at prices ranging from $63.70 to $64.63 per share, inclusive. The reporting person undertakes to provide PC Connection, Inc., any security holder of PC Connection, Inc., or the staff of the Securities and Exchange Commission, upon request, full information regarding the number of shares sold at each price within the range set forth in this footnote.</footnote>
        <footnote id="F2">The reported price is a weighted average price. These shares were sold in multiple transactions at prices ranging from $64.76 to $65.12 per share, inclusive. The reporting person undertakes to provide PC Connection, Inc., any security holder of PC Connection, Inc., or the staff of the Securities and Exchange Commission, upon request, full information regarding the number of shares sold at each price within the range set forth in this footnote.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Thomas C. Baker</signatureName>
        <signatureDate>2023-12-14</signatureDate>
    </ownerSignature>
</ownershipDocument>
</XML>
</TEXT>
</DOCUMENT>
</SEC-DOCUMENT>
