<?xml version="1.0" encoding="UTF-8"?>
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:xbrldt="http://xbrl.org/2005/xbrldt">
  <!-- XBRL Document Created with XML Edge from P3 Data Systems -->
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <roleRef roleURI="http://southernfirst.com/role/ConsolidatedStatementsOfShareholdersEquity" xlink:type="simple" xlink:href="sfst-20210630.xsd#ConsolidatedStatementsOfShareholdersEquity"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansandAllowanceforLoanLossesTables" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansandAllowanceforLoanLossesTables"/>
  <roleRef roleURI="http://southernfirst.com/role/NatureOfBusinessAndBasisOfPresentationNarrativeDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#NatureOfBusinessAndBasisOfPresentationNarrativeDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/InvestmentSecuritiesScheduleOfAmortizedCostsAndFairValueOfInvestmentSecuritiesDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#InvestmentSecuritiesScheduleOfAmortizedCostsAndFairValueOfInvestmentSecuritiesDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/InvestmentSecuritiesScheduleOfFairValuesInvestmentSecuritiesAvailableForContractualMaturitiesDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#InvestmentSecuritiesScheduleOfFairValuesInvestmentSecuritiesAvailableForContractualMaturitiesDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/InvestmentSecuritiesScheduleOfGrossUnrealizedLossesOnInvestmentSecuritiesAndFairMarketValueDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#InvestmentSecuritiesScheduleOfGrossUnrealizedLossesOnInvestmentSecuritiesAndFairMarketValueDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesNarrativeDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansAndAllowanceForLoanLossesNarrativeDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfCompositionOfLoanPortfolioDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansAndAllowanceForLoanLossesScheduleOfCompositionOfLoanPortfolioDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfLoanMaturityDistributionByTypeAndRelatedInterestRateDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansAndAllowanceForLoanLossesScheduleOfLoanMaturityDistributionByTypeAndRelatedInterestRateDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfOutstandingCommercialAndConsumerLoansAsNon-accrualsByClassDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansAndAllowanceForLoanLossesScheduleOfOutstandingCommercialAndConsumerLoansAsNon-accrualsByClassDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfBreakdownOfOutstandingLoansByRiskCategoryDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansAndAllowanceForLoanLossesScheduleOfBreakdownOfOutstandingLoansByRiskCategoryDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfAgingOfPastDueLoansDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansAndAllowanceForLoanLossesScheduleOfAgingOfPastDueLoansDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfOutstandingConsumerLoansByRiskCategoryDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansAndAllowanceForLoanLossesScheduleOfOutstandingConsumerLoansByRiskCategoryDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfNonperformingAssetsIncludingNonaccruingTdrsDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansAndAllowanceForLoanLossesScheduleOfNonperformingAssetsIncludingNonaccruingTdrsDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfKeyInformationForImpairedLoansDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansAndAllowanceForLoanLossesScheduleOfKeyInformationForImpairedLoansDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesAverageRecordedInvestmentAndInterestIncomeRecognizedOnImpairedLoansDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansAndAllowanceForLoanLossesAverageRecordedInvestmentAndInterestIncomeRecognizedOnImpairedLoansDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesAllowanceForLoanLossesByCommercialAndConsumerPortfolioSegmentsDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansAndAllowanceForLoanLossesAllowanceForLoanLossesByCommercialAndConsumerPortfolioSegmentsDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesAllowanceForLoanLossesAndRecordedInvestmentInLoansByImpairmentDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#LoansAndAllowanceForLoanLossesAllowanceForLoanLossesAndRecordedInvestmentInLoansByImpairmentDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/TroubledDebtRestructuringsSummaryOfConcessionAtTimeOfModificationDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#TroubledDebtRestructuringsSummaryOfConcessionAtTimeOfModificationDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/DerivativeFinancialInstrumentsScheduleOfOutstandingFinancialDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#DerivativeFinancialInstrumentsScheduleOfOutstandingFinancialDerivativeInstrumentsDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/FairValueAccountingScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#FairValueAccountingScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/FairValueAccountingScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnNonrecurringBasisDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#FairValueAccountingScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnNonrecurringBasisDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/FairValueAccountingScheduleOfEstimatedFairValuesOfCompanysFinancialInstrumentsDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#FairValueAccountingScheduleOfEstimatedFairValuesOfCompanysFinancialInstrumentsDetails"/>
  <roleRef roleURI="http://southernfirst.com/role/ReportableSegmentsScheduleOfFinancialInformationForEachReportableSegmentDetails" xlink:type="simple" xlink:href="sfst-20210630.xsd#ReportableSegmentsScheduleOfFinancialInformationForEachReportableSegmentDetails"/>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/ConsolidatedStatementsOfShareholdersEquity">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems" xlink:label="locator_us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="locator_us-gaap_StockholdersEquity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StockholdersEquity" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharesOutstanding" xlink:label="locator_us-gaap_SharesOutstanding"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_SharesOutstanding" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="locator_us-gaap_NetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_NetIncomeLoss" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="locator_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="locator_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures" xlink:label="locator_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:label="locator_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition" xlink:label="locator_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="locator_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable" xlink:label="locator_us-gaap_StatementTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StatementTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="locator_us-gaap_AwardTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_StatementTable" xlink:to="locator_us-gaap_AwardTypeAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_AwardTypeAxis" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="locator_us-gaap_StatementEquityComponentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_StatementTable" xlink:to="locator_us-gaap_StatementEquityComponentsAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="locator_us-gaap_EquityComponentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_StatementEquityComponentsAxis" xlink:to="locator_us-gaap_EquityComponentDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockMember" xlink:label="locator_us-gaap_CommonStockMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EquityComponentDomain" xlink:to="locator_us-gaap_CommonStockMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="locator_us-gaap_PreferredStockMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EquityComponentDomain" xlink:to="locator_us-gaap_PreferredStockMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonvestedRestrictedStockMember" xlink:label="locator_sfst_NonvestedRestrictedStockMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EquityComponentDomain" xlink:to="locator_sfst_NonvestedRestrictedStockMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="locator_us-gaap_AdditionalPaidInCapitalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EquityComponentDomain" xlink:to="locator_us-gaap_AdditionalPaidInCapitalMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="locator_us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EquityComponentDomain" xlink:to="locator_us-gaap_AccumulatedOtherComprehensiveIncomeMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="locator_us-gaap_RetainedEarningsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_EquityComponentDomain" xlink:to="locator_us-gaap_RetainedEarningsMember" use="optional" priority="0" order="51"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="locator_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_85909157-d572-6264-fe79-37491c6e5093_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_AwardTypeAxis" xlink:to="locator_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_85909157-d572-6264-fe79-37491c6e5093_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="locator_us-gaap_EquityComponentDomain_458d4cb2-4183-048f-44dc-73d7ca579487_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_StatementEquityComponentsAxis" xlink:to="locator_us-gaap_EquityComponentDomain_458d4cb2-4183-048f-44dc-73d7ca579487_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansandAllowanceforLoanLossesTables">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" xlink:label="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_LoanMaturityDistributionByTypeAndRelatedInterestRateTableTextBlock" xlink:label="locator_sfst_LoanMaturityDistributionByTypeAndRelatedInterestRateTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_sfst_LoanMaturityDistributionByTypeAndRelatedInterestRateTableTextBlock" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OutstandingLoansByRiskCategoryTableTextBlock" xlink:label="locator_sfst_OutstandingLoansByRiskCategoryTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_sfst_OutstandingLoansByRiskCategoryTableTextBlock" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PastDueFinancingReceivablesTableTextBlock" xlink:label="locator_us-gaap_PastDueFinancingReceivablesTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_us-gaap_PastDueFinancingReceivablesTableTextBlock" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" xlink:label="locator_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivablesTableTextBlock" xlink:label="locator_us-gaap_ImpairedFinancingReceivablesTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_us-gaap_ImpairedFinancingReceivablesTableTextBlock" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SummaryOfAverageRecordedInvestmentInImpairedLoansAndAmountOfInterestIncomeTableTextBlock" xlink:label="locator_sfst_SummaryOfAverageRecordedInvestmentInImpairedLoansAndAmountOfInterestIncomeTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_sfst_SummaryOfAverageRecordedInvestmentInImpairedLoansAndAmountOfInterestIncomeTableTextBlock" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SummaryOfAllowanceForLoanLossesByCommercialAndConsumerPortfolioSegmentsTableTextBlock" xlink:label="locator_sfst_SummaryOfAllowanceForLoanLossesByCommercialAndConsumerPortfolioSegmentsTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_sfst_SummaryOfAllowanceForLoanLossesByCommercialAndConsumerPortfolioSegmentsTableTextBlock" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_ImpairmentMethodologyForCreditLossesOnFinancingReceivablesTableTextBlock" xlink:label="locator_sfst_ImpairmentMethodologyForCreditLossesOnFinancingReceivablesTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_sfst_ImpairmentMethodologyForCreditLossesOnFinancingReceivablesTableTextBlock" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="locator_us-gaap_ScheduleOfFinancingReceivablesPastDueTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="locator_us-gaap_ConsumerLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_ConsumerLoanMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="locator_us-gaap_CommercialLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CommercialLoanMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_77bd8c75-053d-0304-3eb8-0202e078333c_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_77bd8c75-053d-0304-3eb8-0202e078333c_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/NatureOfBusinessAndBasisOfPresentationNarrativeDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems" xlink:label="locator_us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_FederalReserveReducedTargetFederalFundsRateBasisPoint" xlink:label="locator_sfst_FederalReserveReducedTargetFederalFundsRateBasisPoint"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_sfst_FederalReserveReducedTargetFederalFundsRateBasisPoint" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="locator_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCredit" xlink:label="locator_us-gaap_LineOfCredit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_LineOfCredit" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="locator_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_MarketInterestRates" xlink:label="locator_sfst_MarketInterestRates"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_sfst_MarketInterestRates" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable" xlink:label="locator_us-gaap_StatementTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_StatementLineItems" xlink:to="locator_us-gaap_StatementTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="locator_us-gaap_CreditFacilityAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_StatementTable" xlink:to="locator_us-gaap_CreditFacilityAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="locator_us-gaap_CreditFacilityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_CreditFacilityAxis" xlink:to="locator_us-gaap_CreditFacilityDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="locator_us-gaap_LineOfCreditMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_CreditFacilityDomain" xlink:to="locator_us-gaap_LineOfCreditMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis" xlink:label="locator_srt_RangeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_StatementTable" xlink:to="locator_srt_RangeAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember" xlink:label="locator_srt_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_srt_RangeAxis" xlink:to="locator_srt_RangeMember" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember" xlink:label="locator_srt_MinimumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_RangeMember" xlink:to="locator_srt_MinimumMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember" xlink:label="locator_srt_MaximumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_RangeMember" xlink:to="locator_srt_MaximumMember" use="optional" priority="0" order="51"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransactionTypeAxis" xlink:label="locator_us-gaap_TransactionTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_StatementTable" xlink:to="locator_us-gaap_TransactionTypeAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransactionDomain" xlink:label="locator_us-gaap_TransactionDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_TransactionTypeAxis" xlink:to="locator_us-gaap_TransactionDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_COVID19PandemicMember" xlink:label="locator_sfst_COVID19PandemicMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransactionDomain" xlink:to="locator_sfst_COVID19PandemicMember" use="optional" priority="0" order="61"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="locator_us-gaap_CreditFacilityDomain_05447ef1-50b9-f3f3-43a8-c6db0f6e04b1_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_CreditFacilityAxis" xlink:to="locator_us-gaap_CreditFacilityDomain_05447ef1-50b9-f3f3-43a8-c6db0f6e04b1_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember" xlink:label="locator_srt_RangeMember_b6baeb31-6d81-bf8f-8192-a1933054a55d_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_srt_RangeAxis" xlink:to="locator_srt_RangeMember_b6baeb31-6d81-bf8f-8192-a1933054a55d_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransactionDomain" xlink:label="locator_us-gaap_TransactionDomain_c3575014-260f-d72b-a898-31550acde723_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_TransactionTypeAxis" xlink:to="locator_us-gaap_TransactionDomain_c3575014-260f-d72b-a898-31550acde723_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/InvestmentSecuritiesScheduleOfAmortizedCostsAndFairValueOfInvestmentSecuritiesDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SecuritiesAvailableForSaleMajorCategoriesAbstract" xlink:label="locator_sfst_SecuritiesAvailableForSaleMajorCategoriesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="locator_sfst_SecuritiesAvailableForSaleMajorCategoriesAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAbstract" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SecuritiesAvailableForSaleMajorCategoriesAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesAbstract" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesDebtSecurities" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesAmortizedCost"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesAmortizedCost" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="locator_us-gaap_USTreasurySecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_USTreasurySecuritiesMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AgencySecuritiesMember" xlink:label="locator_us-gaap_AgencySecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_AgencySecuritiesMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SbaSecuritiesMember" xlink:label="locator_sfst_SbaSecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_sfst_SbaSecuritiesMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="locator_us-gaap_USStatesAndPoliticalSubdivisionsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_USStatesAndPoliticalSubdivisionsMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="locator_us-gaap_AssetBackedSecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_AssetBackedSecuritiesMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="locator_us-gaap_MortgageBackedSecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_MortgageBackedSecuritiesMember" use="optional" priority="0" order="51"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="locator_us-gaap_InvestmentTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:to="locator_us-gaap_InvestmentTypeAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="locator_us-gaap_InvestmentTypeCategorizationMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_InvestmentTypeAxis" xlink:to="locator_us-gaap_InvestmentTypeCategorizationMember" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember" xlink:label="locator_us-gaap_FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InvestmentTypeCategorizationMember" xlink:to="locator_us-gaap_FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember" use="optional" priority="0" order="52"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember" xlink:label="locator_us-gaap_FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InvestmentTypeCategorizationMember" xlink:to="locator_us-gaap_FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember" use="optional" priority="0" order="62"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember" xlink:label="locator_us-gaap_GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InvestmentTypeCategorizationMember" xlink:to="locator_us-gaap_GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember" use="optional" priority="0" order="72"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f0d30c95-dc8e-08cd-5afe-5c0331311299_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f0d30c95-dc8e-08cd-5afe-5c0331311299_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="locator_us-gaap_InvestmentTypeCategorizationMember_06831a57-7669-adf3-9f67-270f4d8e88c7_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_InvestmentTypeAxis" xlink:to="locator_us-gaap_InvestmentTypeCategorizationMember_06831a57-7669-adf3-9f67-270f4d8e88c7_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/InvestmentSecuritiesScheduleOfFairValuesInvestmentSecuritiesAvailableForContractualMaturitiesDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_ContractualYieldOnDebtSecuritiesExpectedToMatureNextTwelveMonth" xlink:label="locator_sfst_ContractualYieldOnDebtSecuritiesExpectedToMatureNextTwelveMonth"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:to="locator_sfst_ContractualYieldOnDebtSecuritiesExpectedToMatureNextTwelveMonth" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_ContractualYieldOnDebtSecuritiesExpectedToMatureAfterOneAndThroughFiveYear" xlink:label="locator_sfst_ContractualYieldOnDebtSecuritiesExpectedToMatureAfterOneAndThroughFiveYear"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:to="locator_sfst_ContractualYieldOnDebtSecuritiesExpectedToMatureAfterOneAndThroughFiveYear" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_ContractualYieldOnDebtSecuritiesExpectedToMatureAfterFiveAndThroughTenYears" xlink:label="locator_sfst_ContractualYieldOnDebtSecuritiesExpectedToMatureAfterFiveAndThroughTenYears"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:to="locator_sfst_ContractualYieldOnDebtSecuritiesExpectedToMatureAfterFiveAndThroughTenYears" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_ContractualYieldOnDebtSecuritiesExpectedToMatureAfterTenYears" xlink:label="locator_sfst_ContractualYieldOnDebtSecuritiesExpectedToMatureAfterTenYears"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:to="locator_sfst_ContractualYieldOnDebtSecuritiesExpectedToMatureAfterTenYears" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="locator_us-gaap_AvailableForSaleSecurities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecurities" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_ContractualMaturitiesYieldOnDebtSecurities" xlink:label="locator_sfst_ContractualMaturitiesYieldOnDebtSecurities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:to="locator_sfst_ContractualMaturitiesYieldOnDebtSecurities" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="locator_us-gaap_USTreasurySecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_USTreasurySecuritiesMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AgencySecuritiesMember" xlink:label="locator_us-gaap_AgencySecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_AgencySecuritiesMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SbaSecuritiesMember" xlink:label="locator_sfst_SbaSecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_sfst_SbaSecuritiesMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="locator_us-gaap_USStatesAndPoliticalSubdivisionsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_USStatesAndPoliticalSubdivisionsMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="locator_us-gaap_AssetBackedSecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_AssetBackedSecuritiesMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="locator_us-gaap_MortgageBackedSecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_MortgageBackedSecuritiesMember" use="optional" priority="0" order="51"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_46fdc8ef-75c8-c2b6-93fa-78f38f6ddf77_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_46fdc8ef-75c8-c2b6-93fa-78f38f6ddf77_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/InvestmentSecuritiesScheduleOfGrossUnrealizedLossesOnInvestmentSecuritiesAndFairMarketValueDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAbstract" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NumberOfInvestmentsInContinuousUnrealizedLossPositionLessThanTwelveMonths" xlink:label="locator_sfst_NumberOfInvestmentsInContinuousUnrealizedLossPositionLessThanTwelveMonths"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_sfst_NumberOfInvestmentsInContinuousUnrealizedLossPositionLessThanTwelveMonths" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="locator_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NumberOfInvestmentsInContinuousUnrealizedLossPositionTwelveMonthsOrLonger" xlink:label="locator_sfst_NumberOfInvestmentsInContinuousUnrealizedLossPositionTwelveMonthsOrLonger"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_sfst_NumberOfInvestmentsInContinuousUnrealizedLossPositionTwelveMonthsOrLonger" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="locator_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NumberOfInvestmentsInContinuousUnrealizedLossPosition" xlink:label="locator_sfst_NumberOfInvestmentsInContinuousUnrealizedLossPosition"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_sfst_NumberOfInvestmentsInContinuousUnrealizedLossPosition" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="locator_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:label="locator_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="locator_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AgencySecuritiesMember" xlink:label="locator_us-gaap_AgencySecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_AgencySecuritiesMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SbaSecuritiesMember" xlink:label="locator_sfst_SbaSecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_sfst_SbaSecuritiesMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="locator_us-gaap_USStatesAndPoliticalSubdivisionsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_USStatesAndPoliticalSubdivisionsMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="locator_us-gaap_AssetBackedSecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_AssetBackedSecuritiesMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="locator_us-gaap_MortgageBackedSecuritiesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_MortgageBackedSecuritiesMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="locator_us-gaap_InvestmentTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:to="locator_us-gaap_InvestmentTypeAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="locator_us-gaap_InvestmentTypeCategorizationMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_InvestmentTypeAxis" xlink:to="locator_us-gaap_InvestmentTypeCategorizationMember" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember" xlink:label="locator_us-gaap_FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InvestmentTypeCategorizationMember" xlink:to="locator_us-gaap_FederalHomeLoanMortgageCorporationCertificatesAndObligationsFHLMCMember" use="optional" priority="0" order="42"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember" xlink:label="locator_us-gaap_FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InvestmentTypeCategorizationMember" xlink:to="locator_us-gaap_FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember" use="optional" priority="0" order="52"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember" xlink:label="locator_us-gaap_GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InvestmentTypeCategorizationMember" xlink:to="locator_us-gaap_GovernmentNationalMortgageAssociationCertificatesAndObligationsGNMAMember" use="optional" priority="0" order="62"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2341413e-ae54-2d03-a551-aed722284ce5_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2341413e-ae54-2d03-a551-aed722284ce5_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="locator_us-gaap_InvestmentTypeCategorizationMember_87e31fa1-a15a-550f-3c19-718b3b63848b_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_InvestmentTypeAxis" xlink:to="locator_us-gaap_InvestmentTypeCategorizationMember_87e31fa1-a15a-550f-3c19-718b3b63848b_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesNarrativeDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_LoanAndAllowanceForLoanLossesTextualAbstract" xlink:label="locator_sfst_LoanAndAllowanceForLoanLossesTextualAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_sfst_LoanAndAllowanceForLoanLossesTextualAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_PercentageOfSbaToGuaranteeOfCertainLoans" xlink:label="locator_sfst_PercentageOfSbaToGuaranteeOfCertainLoans"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_LoanAndAllowanceForLoanLossesTextualAbstract" xlink:to="locator_sfst_PercentageOfSbaToGuaranteeOfCertainLoans" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NumberOfLoanProcessed" xlink:label="locator_sfst_NumberOfLoanProcessed"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_LoanAndAllowanceForLoanLossesTextualAbstract" xlink:to="locator_sfst_NumberOfLoanProcessed" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableLoansInProcess" xlink:label="locator_us-gaap_LoansAndLeasesReceivableLoansInProcess"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_LoanAndAllowanceForLoanLossesTextualAbstract" xlink:to="locator_us-gaap_LoansAndLeasesReceivableLoansInProcess" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_PartOfLoansOfThirtyDaysOrMorePastDueAsPercentageOfAggregateLoanPortfolio" xlink:label="locator_sfst_PartOfLoansOfThirtyDaysOrMorePastDueAsPercentageOfAggregateLoanPortfolio"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_LoanAndAllowanceForLoanLossesTextualAbstract" xlink:to="locator_sfst_PartOfLoansOfThirtyDaysOrMorePastDueAsPercentageOfAggregateLoanPortfolio" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableDeferredIncome" xlink:label="locator_us-gaap_LoansAndLeasesReceivableDeferredIncome"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_LoanAndAllowanceForLoanLossesTextualAbstract" xlink:to="locator_us-gaap_LoansAndLeasesReceivableDeferredIncome" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NetLenderAndReferralFeesOnPppLoans" xlink:label="locator_sfst_NetLenderAndReferralFeesOnPppLoans"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_LoanAndAllowanceForLoanLossesTextualAbstract" xlink:to="locator_sfst_NetLenderAndReferralFeesOnPppLoans" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NetLenderFees1" xlink:label="locator_sfst_NetLenderFees1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_LoanAndAllowanceForLoanLossesTextualAbstract" xlink:to="locator_sfst_NetLenderFees1" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="locator_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_PaycheckProtectionProgramMember" xlink:label="locator_sfst_PaycheckProtectionProgramMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_sfst_PaycheckProtectionProgramMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="locator_us-gaap_CommercialLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CommercialLoanMember" use="optional" priority="0" order="51"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="locator_us-gaap_ConsumerLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_ConsumerLoanMember" use="optional" priority="0" order="71"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_ACAPSMELLCMember" xlink:label="locator_sfst_ACAPSMELLCMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_sfst_ACAPSMELLCMember" use="optional" priority="0" order="91"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c8f5f4f6-e425-fb5a-bbc8-cdd46e71a979_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c8f5f4f6-e425-fb5a-bbc8-cdd46e71a979_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfCompositionOfLoanPortfolioDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstract" xlink:label="locator_us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="locator_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstract" xlink:to="locator_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_LoansAndLeasesReceivableNetOfDeferredIncomePercentage" xlink:label="locator_sfst_LoansAndLeasesReceivableNetOfDeferredIncomePercentage"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstract" xlink:to="locator_sfst_LoansAndLeasesReceivableNetOfDeferredIncomePercentage" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="locator_us-gaap_LoansAndLeasesReceivableAllowance"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstract" xlink:to="locator_us-gaap_LoansAndLeasesReceivableAllowance" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="locator_us-gaap_LoansAndLeasesReceivableNetReportedAmount"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstract" xlink:to="locator_us-gaap_LoansAndLeasesReceivableNetReportedAmount" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="locator_us-gaap_CommercialLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CommercialLoanMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="locator_us-gaap_ConsumerLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_ConsumerLoanMember" use="optional" priority="0" order="61"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="locator_us-gaap_ConstructionLoansMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_ConstructionLoansMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="locator_us-gaap_RealEstateLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_RealEstateLoanMember" use="optional" priority="0" order="62"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HomeEquityLoanMember" xlink:label="locator_us-gaap_HomeEquityLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_HomeEquityLoanMember" use="optional" priority="0" order="72"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="locator_us-gaap_LongtermDebtTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="locator_us-gaap_LongtermDebtTypeAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OwnerOccupiedReMember" xlink:label="locator_sfst_OwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OwnerOccupiedReMember" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonOwnerOccupiedReMember" xlink:label="locator_sfst_NonOwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_NonOwnerOccupiedReMember" use="optional" priority="0" order="22"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_BusinessLoanMember" xlink:label="locator_sfst_BusinessLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_BusinessLoanMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OtherConsumerMember" xlink:label="locator_sfst_OtherConsumerMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OtherConsumerMember" use="optional" priority="0" order="92"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3afd8be7-8b19-a1ae-d237-e9ef7d972cea_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3afd8be7-8b19-a1ae-d237-e9ef7d972cea_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_35fcfba5-6b06-672d-80f5-5f876e4894f6_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_35fcfba5-6b06-672d-80f5-5f876e4894f6_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain_e3221a41-1996-9685-d4f7-5748da29e5b5_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain_e3221a41-1996-9685-d4f7-5748da29e5b5_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfLoanMaturityDistributionByTypeAndRelatedInterestRateDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_LoansAndLeasesReceivableNetOfDeferredIncomeMaturitiesOneYearOrLess" xlink:label="locator_sfst_LoansAndLeasesReceivableNetOfDeferredIncomeMaturitiesOneYearOrLess"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_sfst_LoansAndLeasesReceivableNetOfDeferredIncomeMaturitiesOneYearOrLess" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_LoansAndLeasesReceivableNetOfDeferredIncomeMaturitiesAfterOneButWithinFiveYears" xlink:label="locator_sfst_LoansAndLeasesReceivableNetOfDeferredIncomeMaturitiesAfterOneButWithinFiveYears"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_sfst_LoansAndLeasesReceivableNetOfDeferredIncomeMaturitiesAfterOneButWithinFiveYears" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_LoansAndLeasesReceivableNetOfDeferredIncomeMaturitiesAfterFiveYears" xlink:label="locator_sfst_LoansAndLeasesReceivableNetOfDeferredIncomeMaturitiesAfterFiveYears"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_sfst_LoansAndLeasesReceivableNetOfDeferredIncomeMaturitiesAfterFiveYears" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="locator_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_LoansMaturingAfterOneYearWithFixedInterestRates" xlink:label="locator_sfst_LoansMaturingAfterOneYearWithFixedInterestRates"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_sfst_LoansMaturingAfterOneYearWithFixedInterestRates" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_LoansMaturingAfterOneYearWithFloatingInterestRates" xlink:label="locator_sfst_LoansMaturingAfterOneYearWithFloatingInterestRates"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_sfst_LoansMaturingAfterOneYearWithFloatingInterestRates" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="locator_us-gaap_CommercialLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CommercialLoanMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="locator_us-gaap_ConsumerLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_ConsumerLoanMember" use="optional" priority="0" order="51"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="locator_us-gaap_LongtermDebtTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="locator_us-gaap_LongtermDebtTypeAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OwnerOccupiedReMember" xlink:label="locator_sfst_OwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OwnerOccupiedReMember" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonOwnerOccupiedReMember" xlink:label="locator_sfst_NonOwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_NonOwnerOccupiedReMember" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_BusinessLoanMember" xlink:label="locator_sfst_BusinessLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_BusinessLoanMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OtherConsumerMember" xlink:label="locator_sfst_OtherConsumerMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OtherConsumerMember" use="optional" priority="0" order="82"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="locator_us-gaap_ConstructionLoansMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_ConstructionLoansMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="locator_us-gaap_RealEstateLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_RealEstateLoanMember" use="optional" priority="0" order="52"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HomeEquityLoanMember" xlink:label="locator_us-gaap_HomeEquityLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_HomeEquityLoanMember" use="optional" priority="0" order="62"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_713c5430-1262-b1a8-5514-d9a5f9436150_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_713c5430-1262-b1a8-5514-d9a5f9436150_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain_c7ae44a4-0a1c-d606-5ed9-120576cf54a8_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain_c7ae44a4-0a1c-d606-5ed9-120576cf54a8_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ef61fd0c-7e3a-3554-0841-30ea1fc1b3ee_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ef61fd0c-7e3a-3554-0841-30ea1fc1b3ee_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfOutstandingCommercialAndConsumerLoansAsNon-accrualsByClassDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesReceivableNetAbstract" xlink:label="locator_us-gaap_NotesReceivableNetAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_us-gaap_NotesReceivableNetAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="locator_us-gaap_NotesReceivableGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_NotesReceivableNetAbstract" xlink:to="locator_us-gaap_NotesReceivableGross" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="locator_us-gaap_CommercialLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CommercialLoanMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="locator_us-gaap_LongtermDebtTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="locator_us-gaap_LongtermDebtTypeAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OwnerOccupiedReMember" xlink:label="locator_sfst_OwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OwnerOccupiedReMember" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonOwnerOccupiedReMember" xlink:label="locator_sfst_NonOwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_NonOwnerOccupiedReMember" use="optional" priority="0" order="52"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="locator_us-gaap_ConstructionLoansMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_us-gaap_ConstructionLoansMember" use="optional" priority="0" order="102"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_BusinessLoanMember" xlink:label="locator_sfst_BusinessLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_BusinessLoanMember" use="optional" priority="0" order="151"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="locator_us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="locator_us-gaap_FinancingReceivablesPeriodPastDueAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:to="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialAssetNotPastDueMember" xlink:label="locator_us-gaap_FinancialAssetNotPastDueMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="locator_us-gaap_FinancialAssetNotPastDueMember" use="optional" priority="0" order="13"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:label="locator_us-gaap_FinancingReceivables30To59DaysPastDueMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="locator_us-gaap_FinancingReceivables30To59DaysPastDueMember" use="optional" priority="0" order="23"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:label="locator_us-gaap_FinancingReceivables60To89DaysPastDueMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="locator_us-gaap_FinancingReceivables60To89DaysPastDueMember" use="optional" priority="0" order="33"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="locator_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="locator_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" use="optional" priority="0" order="43"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_962aeb96-bc79-9ec6-5b5f-ebd99935df53_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_962aeb96-bc79-9ec6-5b5f-ebd99935df53_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain_a9e33940-4476-585e-49d0-9d761a1d47f6_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain_a9e33940-4476-585e-49d0-9d761a1d47f6_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain_c97b7bf8-ae65-adb2-95c6-56c4504efd0d_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:to="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain_c97b7bf8-ae65-adb2-95c6-56c4504efd0d_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfBreakdownOfOutstandingLoansByRiskCategoryDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentLineItems"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OutstandingLoansByRiskCategoryAbstract" xlink:label="locator_sfst_OutstandingLoansByRiskCategoryAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:to="locator_sfst_OutstandingLoansByRiskCategoryAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableBeforeFeesGross" xlink:label="locator_us-gaap_LoansAndLeasesReceivableBeforeFeesGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_OutstandingLoansByRiskCategoryAbstract" xlink:to="locator_us-gaap_LoansAndLeasesReceivableBeforeFeesGross" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:label="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:to="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="locator_us-gaap_CommercialLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CommercialLoanMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OwnerOccupiedReMember" xlink:label="locator_sfst_OwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_sfst_OwnerOccupiedReMember" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonOwnerOccupiedReMember" xlink:label="locator_sfst_NonOwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_sfst_NonOwnerOccupiedReMember" use="optional" priority="0" order="42"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="locator_us-gaap_ConstructionLoansMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_ConstructionLoansMember" use="optional" priority="0" order="83"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_BusinessLoanMember" xlink:label="locator_sfst_BusinessLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_sfst_BusinessLoanMember" use="optional" priority="0" order="123"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="locator_us-gaap_InternalCreditAssessmentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="locator_us-gaap_InternalCreditAssessmentAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="locator_us-gaap_InternalCreditAssessmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_InternalCreditAssessmentAxis" xlink:to="locator_us-gaap_InternalCreditAssessmentDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PassMember" xlink:label="locator_us-gaap_PassMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InternalCreditAssessmentDomain" xlink:to="locator_us-gaap_PassMember" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SpecialMentionMember" xlink:label="locator_us-gaap_SpecialMentionMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InternalCreditAssessmentDomain" xlink:to="locator_us-gaap_SpecialMentionMember" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubstandardMember" xlink:label="locator_us-gaap_SubstandardMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InternalCreditAssessmentDomain" xlink:to="locator_us-gaap_SubstandardMember" use="optional" priority="0" order="22"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DoubtfulMember" xlink:label="locator_us-gaap_DoubtfulMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InternalCreditAssessmentDomain" xlink:to="locator_us-gaap_DoubtfulMember" use="optional" priority="0" order="32"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3983d473-4121-18cf-8ec3-993b621fc21f_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3983d473-4121-18cf-8ec3-993b621fc21f_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_d70ddd74-b2d7-1ddb-e784-038b1f383ab8_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_d70ddd74-b2d7-1ddb-e784-038b1f383ab8_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="locator_us-gaap_InternalCreditAssessmentDomain_25cee020-fefa-3f38-428f-270f60fa2584_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_InternalCreditAssessmentAxis" xlink:to="locator_us-gaap_InternalCreditAssessmentDomain_25cee020-fefa-3f38-428f-270f60fa2584_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfAgingOfPastDueLoansDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesReceivableNetAbstract" xlink:label="locator_us-gaap_NotesReceivableNetAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_us-gaap_NotesReceivableNetAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="locator_us-gaap_NotesReceivableGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_NotesReceivableNetAbstract" xlink:to="locator_us-gaap_NotesReceivableGross" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:label="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="locator_us-gaap_ConsumerLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_ConsumerLoanMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RealEstateMember" xlink:label="locator_us-gaap_RealEstateMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_RealEstateMember" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HomeEquityLoanMember" xlink:label="locator_us-gaap_HomeEquityLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_HomeEquityLoanMember" use="optional" priority="0" order="52"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="locator_us-gaap_ConstructionLoansMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_ConstructionLoansMember" use="optional" priority="0" order="102"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="locator_us-gaap_LongtermDebtTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="locator_us-gaap_LongtermDebtTypeAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OtherConsumerMember" xlink:label="locator_sfst_OtherConsumerMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OtherConsumerMember" use="optional" priority="0" order="152"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="locator_us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="locator_us-gaap_FinancingReceivablesPeriodPastDueAxis" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:to="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialAssetNotPastDueMember" xlink:label="locator_us-gaap_FinancialAssetNotPastDueMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="locator_us-gaap_FinancialAssetNotPastDueMember" use="optional" priority="0" order="13"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:label="locator_us-gaap_FinancingReceivables30To59DaysPastDueMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="locator_us-gaap_FinancingReceivables30To59DaysPastDueMember" use="optional" priority="0" order="23"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:label="locator_us-gaap_FinancingReceivables60To89DaysPastDueMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="locator_us-gaap_FinancingReceivables60To89DaysPastDueMember" use="optional" priority="0" order="33"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="locator_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="locator_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" use="optional" priority="0" order="43"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_cfc17595-fd5f-3dff-a2af-4c98b108ff48_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_cfc17595-fd5f-3dff-a2af-4c98b108ff48_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_6242fb14-f8be-2241-aa54-16ae803aaa99_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_6242fb14-f8be-2241-aa54-16ae803aaa99_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain_7f807df4-e47f-b842-b795-c4f82abb01c4_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain_7f807df4-e47f-b842-b795-c4f82abb01c4_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain_026f2dbc-0929-70ed-992c-8e6ced1a99f7_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:to="locator_us-gaap_FinancingReceivablesPeriodPastDueDomain_026f2dbc-0929-70ed-992c-8e6ced1a99f7_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfOutstandingConsumerLoansByRiskCategoryDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentLineItems"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OutstandingLoansByRiskCategoryAbstract" xlink:label="locator_sfst_OutstandingLoansByRiskCategoryAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:to="locator_sfst_OutstandingLoansByRiskCategoryAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_LoanAndLeasesReceivableBeforeFeesGross" xlink:label="locator_sfst_LoanAndLeasesReceivableBeforeFeesGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_OutstandingLoansByRiskCategoryAbstract" xlink:to="locator_sfst_LoanAndLeasesReceivableBeforeFeesGross" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:label="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:to="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="locator_us-gaap_ConsumerLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_ConsumerLoanMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="locator_us-gaap_RealEstateLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_RealEstateLoanMember" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HomeEquityLoanMember" xlink:label="locator_us-gaap_HomeEquityLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_HomeEquityLoanMember" use="optional" priority="0" order="43"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="locator_us-gaap_ConstructionLoansMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_ConstructionLoansMember" use="optional" priority="0" order="83"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="locator_us-gaap_InternalCreditAssessmentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="locator_us-gaap_InternalCreditAssessmentAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="locator_us-gaap_InternalCreditAssessmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_InternalCreditAssessmentAxis" xlink:to="locator_us-gaap_InternalCreditAssessmentDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PassMember" xlink:label="locator_us-gaap_PassMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InternalCreditAssessmentDomain" xlink:to="locator_us-gaap_PassMember" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SpecialMentionMember" xlink:label="locator_us-gaap_SpecialMentionMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InternalCreditAssessmentDomain" xlink:to="locator_us-gaap_SpecialMentionMember" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubstandardMember" xlink:label="locator_us-gaap_SubstandardMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InternalCreditAssessmentDomain" xlink:to="locator_us-gaap_SubstandardMember" use="optional" priority="0" order="22"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DoubtfulMember" xlink:label="locator_us-gaap_DoubtfulMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_InternalCreditAssessmentDomain" xlink:to="locator_us-gaap_DoubtfulMember" use="optional" priority="0" order="32"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="locator_us-gaap_LongtermDebtTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="locator_us-gaap_LongtermDebtTypeAxis" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OtherConsumerMember" xlink:label="locator_sfst_OtherConsumerMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OtherConsumerMember" use="optional" priority="0" order="123"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_da2b4c90-7bf6-da7b-8a02-5dea73fe110f_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_da2b4c90-7bf6-da7b-8a02-5dea73fe110f_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_701ff346-f16b-5157-83ef-c9299fd5ed7f_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_701ff346-f16b-5157-83ef-c9299fd5ed7f_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="locator_us-gaap_InternalCreditAssessmentDomain_0e802c57-d4f5-6ed9-8944-413a8da871cb_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_InternalCreditAssessmentAxis" xlink:to="locator_us-gaap_InternalCreditAssessmentDomain_0e802c57-d4f5-6ed9-8944-413a8da871cb_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain_5bc5a448-4a5f-995d-0645-7c46071d28e4_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain_5bc5a448-4a5f-995d-0645-7c46071d28e4_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfNonperformingAssetsIncludingNonaccruingTdrsDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SummeryOfNonperformingAssetsAbstract" xlink:label="locator_sfst_SummeryOfNonperformingAssetsAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:to="locator_sfst_SummeryOfNonperformingAssetsAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_Nonaccruing" xlink:label="locator_sfst_Nonaccruing"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummeryOfNonperformingAssetsAbstract" xlink:to="locator_sfst_Nonaccruing" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonaccruingTroubledDebtRestructurings" xlink:label="locator_sfst_NonaccruingTroubledDebtRestructurings"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummeryOfNonperformingAssetsAbstract" xlink:to="locator_sfst_NonaccruingTroubledDebtRestructurings" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonaccrualLoansIncludingNonaccruingTroubledDebtRestructurings" xlink:label="locator_sfst_NonaccrualLoansIncludingNonaccruingTroubledDebtRestructurings"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummeryOfNonperformingAssetsAbstract" xlink:to="locator_sfst_NonaccrualLoansIncludingNonaccruingTroubledDebtRestructurings" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherRealEstate" xlink:label="locator_us-gaap_OtherRealEstate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummeryOfNonperformingAssetsAbstract" xlink:to="locator_us-gaap_OtherRealEstate" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonaccrualLoansAndOtherRealEstate" xlink:label="locator_sfst_NonaccrualLoansAndOtherRealEstate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummeryOfNonperformingAssetsAbstract" xlink:to="locator_sfst_NonaccrualLoansAndOtherRealEstate" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonperformingAssetsInRelativePercentageAbstract" xlink:label="locator_sfst_NonperformingAssetsInRelativePercentageAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummeryOfNonperformingAssetsAbstract" xlink:to="locator_sfst_NonperformingAssetsInRelativePercentageAbstract" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonperformingAssetsAsPercentageOfAssets" xlink:label="locator_sfst_NonperformingAssetsAsPercentageOfAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_NonperformingAssetsInRelativePercentageAbstract" xlink:to="locator_sfst_NonperformingAssetsAsPercentageOfAssets" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonperformingAssetsAsPercentageOfGrossLoans" xlink:label="locator_sfst_NonperformingAssetsAsPercentageOfGrossLoans"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_NonperformingAssetsInRelativePercentageAbstract" xlink:to="locator_sfst_NonperformingAssetsAsPercentageOfGrossLoans" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_LoansOverNinetyDaysPastDue" xlink:label="locator_sfst_LoansOverNinetyDaysPastDue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummeryOfNonperformingAssetsAbstract" xlink:to="locator_sfst_LoansOverNinetyDaysPastDue" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummeryOfNonperformingAssetsAbstract" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_AccruingTroubledDebtRestructurings" xlink:label="locator_sfst_AccruingTroubledDebtRestructurings"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummeryOfNonperformingAssetsAbstract" xlink:to="locator_sfst_AccruingTroubledDebtRestructurings" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="locator_us-gaap_ScheduleOfFinancingReceivablesPastDueTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:to="locator_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="locator_us-gaap_CommercialLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CommercialLoanMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="locator_us-gaap_ConsumerLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_ConsumerLoanMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="locator_us-gaap_ConstructionLoansMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_ConstructionLoansMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="locator_us-gaap_RealEstateLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_RealEstateLoanMember" use="optional" priority="0" order="42"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HomeEquityLoanMember" xlink:label="locator_us-gaap_HomeEquityLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_HomeEquityLoanMember" use="optional" priority="0" order="52"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="locator_us-gaap_LongtermDebtTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:to="locator_us-gaap_LongtermDebtTypeAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OwnerOccupiedReMember" xlink:label="locator_sfst_OwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OwnerOccupiedReMember" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonOwnerOccupiedReMember" xlink:label="locator_sfst_NonOwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_NonOwnerOccupiedReMember" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_BusinessLoanMember" xlink:label="locator_sfst_BusinessLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_BusinessLoanMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OtherConsumerMember" xlink:label="locator_sfst_OtherConsumerMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OtherConsumerMember" use="optional" priority="0" order="72"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_77990601-cacf-7135-3de8-b215da72a299_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_77990601-cacf-7135-3de8-b215da72a299_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_0940e910-e328-8643-228f-f005118a1dde_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_0940e910-e328-8643-228f-f005118a1dde_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain_6d9f0dbc-f2c2-a3fa-589b-8befd2c30b55_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain_6d9f0dbc-f2c2-a3fa-589b-8befd2c30b55_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesScheduleOfKeyInformationForImpairedLoansDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableImpairedLineItems" xlink:label="locator_us-gaap_FinancingReceivableImpairedLineItems"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SummaryOfKeyInformationForImpairedLoansAbstract" xlink:label="locator_sfst_SummaryOfKeyInformationForImpairedLoansAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableImpairedLineItems" xlink:to="locator_sfst_SummaryOfKeyInformationForImpairedLoansAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:label="locator_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummaryOfKeyInformationForImpairedLoansAbstract" xlink:to="locator_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="locator_us-gaap_ImpairedFinancingReceivableRecordedInvestment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummaryOfKeyInformationForImpairedLoansAbstract" xlink:to="locator_us-gaap_ImpairedFinancingReceivableRecordedInvestment" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="locator_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummaryOfKeyInformationForImpairedLoansAbstract" xlink:to="locator_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="locator_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummaryOfKeyInformationForImpairedLoansAbstract" xlink:to="locator_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:label="locator_us-gaap_ImpairedFinancingReceivableRelatedAllowance"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummaryOfKeyInformationForImpairedLoansAbstract" xlink:to="locator_us-gaap_ImpairedFinancingReceivableRelatedAllowance" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:label="locator_us-gaap_ScheduleOfImpairedFinancingReceivableTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FinancingReceivableImpairedLineItems" xlink:to="locator_us-gaap_ScheduleOfImpairedFinancingReceivableTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="locator_us-gaap_CommercialLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CommercialLoanMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="locator_us-gaap_ConsumerLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_ConsumerLoanMember" use="optional" priority="0" order="51"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="locator_us-gaap_ConstructionLoansMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_ConstructionLoansMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="locator_us-gaap_RealEstateLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_RealEstateLoanMember" use="optional" priority="0" order="52"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HomeEquityLoanMember" xlink:label="locator_us-gaap_HomeEquityLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_HomeEquityLoanMember" use="optional" priority="0" order="62"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="locator_us-gaap_LongtermDebtTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:to="locator_us-gaap_LongtermDebtTypeAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OwnerOccupiedReMember" xlink:label="locator_sfst_OwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OwnerOccupiedReMember" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonOwnerOccupiedReMember" xlink:label="locator_sfst_NonOwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_NonOwnerOccupiedReMember" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_BusinessLoanMember" xlink:label="locator_sfst_BusinessLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_BusinessLoanMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OtherConsumerMember" xlink:label="locator_sfst_OtherConsumerMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OtherConsumerMember" use="optional" priority="0" order="82"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_a89189f5-143d-6b74-d5da-08188ab81a53_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_a89189f5-143d-6b74-d5da-08188ab81a53_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ec77dea9-e12f-a8c6-b239-a3c32f82210d_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ec77dea9-e12f-a8c6-b239-a3c32f82210d_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain_5fad56f8-69aa-37e3-0ede-b4a2e7dcceff_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain_5fad56f8-69aa-37e3-0ede-b4a2e7dcceff_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesAverageRecordedInvestmentAndInterestIncomeRecognizedOnImpairedLoansDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableImpairedLineItems" xlink:label="locator_us-gaap_FinancingReceivableImpairedLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableAverageRecordedInvestmentAbstract" xlink:label="locator_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestmentAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableImpairedLineItems" xlink:to="locator_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestmentAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" xlink:label="locator_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestmentAbstract" xlink:to="locator_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod" xlink:label="locator_us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestmentAbstract" xlink:to="locator_us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:label="locator_us-gaap_ScheduleOfImpairedFinancingReceivableTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FinancingReceivableImpairedLineItems" xlink:to="locator_us-gaap_ScheduleOfImpairedFinancingReceivableTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="locator_us-gaap_CommercialLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CommercialLoanMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="locator_us-gaap_ConsumerLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_ConsumerLoanMember" use="optional" priority="0" order="51"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="locator_us-gaap_ConstructionLoansMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_ConstructionLoansMember" use="optional" priority="0" order="22"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="locator_us-gaap_RealEstateLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_RealEstateLoanMember" use="optional" priority="0" order="52"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HomeEquityLoanMember" xlink:label="locator_us-gaap_HomeEquityLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_HomeEquityLoanMember" use="optional" priority="0" order="62"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="locator_us-gaap_LongtermDebtTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:to="locator_us-gaap_LongtermDebtTypeAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OwnerOccupiedReMember" xlink:label="locator_sfst_OwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OwnerOccupiedReMember" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonOwnerOccupiedReMember" xlink:label="locator_sfst_NonOwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_NonOwnerOccupiedReMember" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_BusinessLoanMember" xlink:label="locator_sfst_BusinessLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_BusinessLoanMember" use="optional" priority="0" order="32"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OtherConsumerMember" xlink:label="locator_sfst_OtherConsumerMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OtherConsumerMember" use="optional" priority="0" order="82"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c9d9fca5-a264-d1f2-8df7-9a0c599f3a45_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c9d9fca5-a264-d1f2-8df7-9a0c599f3a45_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ebf7fb6d-8a6b-3a40-6d7b-0e9bb89ebcc7_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ebf7fb6d-8a6b-3a40-6d7b-0e9bb89ebcc7_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain_b3367f2e-3f5f-3a8d-d12d-ae1d0362bdb3_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain_b3367f2e-3f5f-3a8d-d12d-ae1d0362bdb3_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesAllowanceForLoanLossesByCommercialAndConsumerPortfolioSegmentsDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:label="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="locator_us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:to="locator_us-gaap_FinancingReceivableAllowanceForCreditLosses" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="locator_us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:to="locator_us-gaap_ProvisionForLoanLeaseAndOtherLosses" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs" xlink:label="locator_us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:to="locator_us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ValuationAllowancesAndReservesRecoveries" xlink:label="locator_us-gaap_ValuationAllowancesAndReservesRecoveries"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:to="locator_us-gaap_ValuationAllowancesAndReservesRecoveries" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_AllowanceForLoanAndLeaseLossesWriteOffsNetOfRecoveries" xlink:label="locator_sfst_AllowanceForLoanAndLeaseLossesWriteOffsNetOfRecoveries"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:to="locator_sfst_AllowanceForLoanAndLeaseLossesWriteOffsNetOfRecoveries" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NetLoanChargeOffsAnnualizedAsPercentageOfAverageLoans" xlink:label="locator_sfst_NetLoanChargeOffsAnnualizedAsPercentageOfAverageLoans"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:to="locator_sfst_NetLoanChargeOffsAnnualizedAsPercentageOfAverageLoans" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_AllowanceForLoanLossesAsPercentageOfGrossLoans" xlink:label="locator_sfst_AllowanceForLoanLossesAsPercentageOfGrossLoans"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:to="locator_sfst_AllowanceForLoanLossesAsPercentageOfGrossLoans" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_AllowanceForLoanLossesAsPercentageOfNonperformingLoans" xlink:label="locator_sfst_AllowanceForLoanLossesAsPercentageOfNonperformingLoans"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:to="locator_sfst_AllowanceForLoanLossesAsPercentageOfNonperformingLoans" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="locator_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="locator_us-gaap_CommercialLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CommercialLoanMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="locator_us-gaap_ConsumerLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_ConsumerLoanMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="locator_us-gaap_ConstructionLoansMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_ConstructionLoansMember" use="optional" priority="0" order="22"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="locator_us-gaap_RealEstateLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_RealEstateLoanMember" use="optional" priority="0" order="42"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HomeEquityLoanMember" xlink:label="locator_us-gaap_HomeEquityLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_HomeEquityLoanMember" use="optional" priority="0" order="52"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="locator_us-gaap_LongtermDebtTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:to="locator_us-gaap_LongtermDebtTypeAxis" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OwnerOccupiedReMember" xlink:label="locator_sfst_OwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OwnerOccupiedReMember" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_NonOwnerOccupiedReMember" xlink:label="locator_sfst_NonOwnerOccupiedReMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_NonOwnerOccupiedReMember" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_BusinessLoanMember" xlink:label="locator_sfst_BusinessLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_BusinessLoanMember" use="optional" priority="0" order="32"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OtherConsumerMember" xlink:label="locator_sfst_OtherConsumerMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LongtermDebtTypeDomain" xlink:to="locator_sfst_OtherConsumerMember" use="optional" priority="0" order="72"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_446b44db-0569-8ee2-3d0b-5466aa3b78ae_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_446b44db-0569-8ee2-3d0b-5466aa3b78ae_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ece7a34a-5329-a520-0879-905ca67bbaad_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ece7a34a-5329-a520-0879-905ca67bbaad_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="locator_us-gaap_LongtermDebtTypeDomain_83251301-c326-76c6-e9c3-ca67b8e0b885_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_LongtermDebtTypeAxis" xlink:to="locator_us-gaap_LongtermDebtTypeDomain_83251301-c326-76c6-e9c3-ca67b8e0b885_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/LoansAndAllowanceForLoanLossesAllowanceForLoanLossesAndRecordedInvestmentInLoansByImpairmentDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:label="locator_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:label="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:to="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="locator_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:to="locator_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:label="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:to="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="locator_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:to="locator_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="locator_us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:to="locator_us-gaap_FinancingReceivableAllowanceForCreditLosses" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="locator_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:to="locator_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="locator_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="locator_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="locator_us-gaap_CommercialLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CommercialLoanMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="locator_us-gaap_ConsumerLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_ConsumerLoanMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_57a30f88-f633-1033-bc84-f732e2a98269_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_57a30f88-f633-1033-bc84-f732e2a98269_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/TroubledDebtRestructuringsSummaryOfConcessionAtTimeOfModificationDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableModificationsLineItems" xlink:label="locator_us-gaap_FinancingReceivableModificationsLineItems"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SummaryOfConcessionAtTimeOfModificationAndRecordedInvestmentAbstract" xlink:label="locator_sfst_SummaryOfConcessionAtTimeOfModificationAndRecordedInvestmentAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableModificationsLineItems" xlink:to="locator_sfst_SummaryOfConcessionAtTimeOfModificationAndRecordedInvestmentAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_RenewalsDeemedConcession" xlink:label="locator_sfst_RenewalsDeemedConcession"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummaryOfConcessionAtTimeOfModificationAndRecordedInvestmentAbstract" xlink:to="locator_sfst_RenewalsDeemedConcession" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_ReducedOrDeferredPayments" xlink:label="locator_sfst_ReducedOrDeferredPayments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummaryOfConcessionAtTimeOfModificationAndRecordedInvestmentAbstract" xlink:to="locator_sfst_ReducedOrDeferredPayments" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_ConvertedToInterestOnly" xlink:label="locator_sfst_ConvertedToInterestOnly"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummaryOfConcessionAtTimeOfModificationAndRecordedInvestmentAbstract" xlink:to="locator_sfst_ConvertedToInterestOnly" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_MaturityDateExtensions" xlink:label="locator_sfst_MaturityDateExtensions"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummaryOfConcessionAtTimeOfModificationAndRecordedInvestmentAbstract" xlink:to="locator_sfst_MaturityDateExtensions" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_TotalNumberOfLoans" xlink:label="locator_sfst_TotalNumberOfLoans"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummaryOfConcessionAtTimeOfModificationAndRecordedInvestmentAbstract" xlink:to="locator_sfst_TotalNumberOfLoans" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2" xlink:label="locator_us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummaryOfConcessionAtTimeOfModificationAndRecordedInvestmentAbstract" xlink:to="locator_us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2" xlink:label="locator_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SummaryOfConcessionAtTimeOfModificationAndRecordedInvestmentAbstract" xlink:to="locator_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:label="locator_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FinancingReceivableModificationsLineItems" xlink:to="locator_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConsumerLoanMember" xlink:label="locator_us-gaap_ConsumerLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_ConsumerLoanMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="locator_us-gaap_CommercialLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_CommercialLoanMember" use="optional" priority="0" order="41"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="locator_us-gaap_RealEstateLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_RealEstateLoanMember" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_BusinessMember" xlink:label="locator_sfst_BusinessMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_sfst_BusinessMember" use="optional" priority="0" order="42"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HomeEquityLoanMember" xlink:label="locator_us-gaap_HomeEquityLoanMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="locator_us-gaap_HomeEquityLoanMember" use="optional" priority="0" order="82"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e6fa419d-d150-98ee-18ea-cd03cf077dc0_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e6fa419d-d150-98ee-18ea-cd03cf077dc0_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ae372501-2e54-6db1-8174-ed99de018660_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="locator_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_ae372501-2e54-6db1-8174-ed99de018660_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/DerivativeFinancialInstrumentsScheduleOfOutstandingFinancialDerivativeInstrumentsDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems" xlink:label="locator_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_DerivativesNotionalAmount" xlink:label="locator_sfst_DerivativesNotionalAmount"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems" xlink:to="locator_sfst_DerivativesNotionalAmount" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_BalanceSheetLocationDescription" xlink:label="locator_sfst_BalanceSheetLocationDescription"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems" xlink:to="locator_sfst_BalanceSheetLocationDescription" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet" xlink:label="locator_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems" xlink:to="locator_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xlink:label="locator_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems" xlink:to="locator_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="locator_us-gaap_FinancialInstrumentAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xlink:to="locator_us-gaap_FinancialInstrumentAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestRateLockCommitmentsMember" xlink:label="locator_us-gaap_InterestRateLockCommitmentsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_InterestRateLockCommitmentsMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SecuritiesSoldNotYetPurchasedMember" xlink:label="locator_us-gaap_SecuritiesSoldNotYetPurchasedMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_SecuritiesSoldNotYetPurchasedMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeMember" xlink:label="locator_us-gaap_DerivativeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="locator_us-gaap_DerivativeMember" use="optional" priority="0" order="61"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_215582e9-91cd-8416-61f6-fa9061da51ee_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FinancialInstrumentAxis" xlink:to="locator_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_215582e9-91cd-8416-61f6-fa9061da51ee_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/FairValueAccountingScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_FairValueAssetsAndLiabilitiesMeasuredAbstract" xlink:label="locator_sfst_FairValueAssetsAndLiabilitiesMeasuredAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="locator_sfst_FairValueAssetsAndLiabilitiesMeasuredAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsFairValueDisclosureAbstract" xlink:label="locator_us-gaap_AssetsFairValueDisclosureAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_FairValueAssetsAndLiabilitiesMeasuredAbstract" xlink:to="locator_us-gaap_AssetsFairValueDisclosureAbstract" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SecuritiesAvailableForSaleFairValueAbstract" xlink:label="locator_sfst_SecuritiesAvailableForSaleFairValueAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AssetsFairValueDisclosureAbstract" xlink:to="locator_sfst_SecuritiesAvailableForSaleFairValueAbstract" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SecuritiesAvailableForSaleFairValueUsAgencyUSTreasuries" xlink:label="locator_sfst_SecuritiesAvailableForSaleFairValueUsAgencyUSTreasuries"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SecuritiesAvailableForSaleFairValueAbstract" xlink:to="locator_sfst_SecuritiesAvailableForSaleFairValueUsAgencyUSTreasuries" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SecuritiesAvailableForSaleFairValueUsAgencySecurities" xlink:label="locator_sfst_SecuritiesAvailableForSaleFairValueUsAgencySecurities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SecuritiesAvailableForSaleFairValueAbstract" xlink:to="locator_sfst_SecuritiesAvailableForSaleFairValueUsAgencySecurities" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SecuritiesAvailableForSaleFairValueSbaSecurities" xlink:label="locator_sfst_SecuritiesAvailableForSaleFairValueSbaSecurities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SecuritiesAvailableForSaleFairValueAbstract" xlink:to="locator_sfst_SecuritiesAvailableForSaleFairValueSbaSecurities" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_SecuritiesAvailableForSaleFairValueStateAndPoliticalSubdivisions" xlink:label="locator_sfst_SecuritiesAvailableForSaleFairValueStateAndPoliticalSubdivisions"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SecuritiesAvailableForSaleFairValueAbstract" xlink:to="locator_sfst_SecuritiesAvailableForSaleFairValueStateAndPoliticalSubdivisions" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_AssetBackedSecurities" xlink:label="locator_sfst_AssetBackedSecurities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SecuritiesAvailableForSaleFairValueAbstract" xlink:to="locator_sfst_AssetBackedSecurities" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure" xlink:label="locator_us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SecuritiesAvailableForSaleFairValueAbstract" xlink:to="locator_us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="locator_us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SecuritiesAvailableForSaleFairValueAbstract" xlink:to="locator_us-gaap_LoansHeldForSaleFairValueDisclosure" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet" xlink:label="locator_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SecuritiesAvailableForSaleFairValueAbstract" xlink:to="locator_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_MortgageBackedSecuritiesForwardSalesCommitments" xlink:label="locator_sfst_MortgageBackedSecuritiesForwardSalesCommitments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_SecuritiesAvailableForSaleFairValueAbstract" xlink:to="locator_sfst_MortgageBackedSecuritiesForwardSalesCommitments" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="locator_us-gaap_AssetsFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AssetsFairValueDisclosureAbstract" xlink:to="locator_us-gaap_AssetsFairValueDisclosure" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosureAbstract" xlink:label="locator_us-gaap_LiabilitiesFairValueDisclosureAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_FairValueAssetsAndLiabilitiesMeasuredAbstract" xlink:to="locator_us-gaap_LiabilitiesFairValueDisclosureAbstract" use="optional" priority="0" order="13"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentsSoldNotYetPurchasedAtFairValue" xlink:label="locator_us-gaap_FinancialInstrumentsSoldNotYetPurchasedAtFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LiabilitiesFairValueDisclosureAbstract" xlink:to="locator_us-gaap_FinancialInstrumentsSoldNotYetPurchasedAtFairValue" use="optional" priority="0" order="14"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure" xlink:label="locator_us-gaap_LiabilitiesFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_LiabilitiesFairValueDisclosureAbstract" xlink:to="locator_us-gaap_LiabilitiesFairValueDisclosure" use="optional" priority="0" order="15"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="locator_us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="locator_us-gaap_FairValueByMeasurementFrequencyAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="locator_us-gaap_FairValueMeasurementFrequencyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="locator_us-gaap_FairValueMeasurementFrequencyDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="locator_us-gaap_FairValueMeasurementsRecurringMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementFrequencyDomain" xlink:to="locator_us-gaap_FairValueMeasurementsRecurringMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="locator_us-gaap_FairValueInputsLevel1Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="locator_us-gaap_FairValueInputsLevel1Member" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="locator_us-gaap_FairValueInputsLevel2Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="locator_us-gaap_FairValueInputsLevel2Member" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="locator_us-gaap_FairValueInputsLevel3Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="locator_us-gaap_FairValueInputsLevel3Member" use="optional" priority="0" order="22"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="locator_us-gaap_FairValueMeasurementFrequencyDomain_96540106-6e9c-5370-56b1-b7be3d8771d9_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="locator_us-gaap_FairValueMeasurementFrequencyDomain_96540106-6e9c-5370-56b1-b7be3d8771d9_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b40c327b-0a55-fece-df5e-6e90c616f7cf_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b40c327b-0a55-fece-df5e-6e90c616f7cf_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/FairValueAccountingScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnNonrecurringBasisDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_FairValueAssetsAndLiabilitiesMeasuredOnNonRecurringBasisAbstract" xlink:label="locator_sfst_FairValueAssetsAndLiabilitiesMeasuredOnNonRecurringBasisAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="locator_sfst_FairValueAssetsAndLiabilitiesMeasuredOnNonRecurringBasisAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsFairValueDisclosureAbstract" xlink:label="locator_us-gaap_AssetsFairValueDisclosureAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_FairValueAssetsAndLiabilitiesMeasuredOnNonRecurringBasisAbstract" xlink:to="locator_us-gaap_AssetsFairValueDisclosureAbstract" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_ImpairedLoansFairValue" xlink:label="locator_sfst_ImpairedLoansFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AssetsFairValueDisclosureAbstract" xlink:to="locator_sfst_ImpairedLoansFairValue" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_OtherRealEstateOwned" xlink:label="locator_sfst_OtherRealEstateOwned"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_AssetsFairValueDisclosureAbstract" xlink:to="locator_sfst_OtherRealEstateOwned" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_AssetsFairValueDisclosuresNonRecurring" xlink:label="locator_sfst_AssetsFairValueDisclosuresNonRecurring"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_sfst_FairValueAssetsAndLiabilitiesMeasuredOnNonRecurringBasisAbstract" xlink:to="locator_sfst_AssetsFairValueDisclosuresNonRecurring" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="locator_us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="locator_us-gaap_FairValueByMeasurementFrequencyAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="locator_us-gaap_FairValueMeasurementFrequencyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="locator_us-gaap_FairValueMeasurementFrequencyDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="locator_us-gaap_FairValueMeasurementsNonrecurringMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementFrequencyDomain" xlink:to="locator_us-gaap_FairValueMeasurementsNonrecurringMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="locator_us-gaap_FairValueInputsLevel1Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="locator_us-gaap_FairValueInputsLevel1Member" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="locator_us-gaap_FairValueInputsLevel2Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="locator_us-gaap_FairValueInputsLevel2Member" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="locator_us-gaap_FairValueInputsLevel3Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="locator_us-gaap_FairValueInputsLevel3Member" use="optional" priority="0" order="22"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="locator_us-gaap_FairValueMeasurementFrequencyDomain_ad2d0fc6-cda9-7321-d36a-65fdc948eb6e_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="locator_us-gaap_FairValueMeasurementFrequencyDomain_ad2d0fc6-cda9-7321-d36a-65fdc948eb6e_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cc9e4a01-30c5-7367-ab9c-d10f7d2ebf70_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_cc9e4a01-30c5-7367-ab9c-d10f7d2ebf70_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/FairValueAccountingScheduleOfEstimatedFairValuesOfCompanysFinancialInstrumentsDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="locator_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentsOwnedAtFairValueAbstract" xlink:label="locator_us-gaap_FinancialInstrumentsOwnedAtFairValueAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:to="locator_us-gaap_FinancialInstrumentsOwnedAtFairValueAbstract" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="locator_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancialInstrumentsOwnedAtFairValueAbstract" xlink:to="locator_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherInvestments" xlink:label="locator_us-gaap_OtherInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:to="locator_us-gaap_OtherInvestments" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_LoansReceivableCarryingAmount" xlink:label="locator_sfst_LoansReceivableCarryingAmount"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:to="locator_sfst_LoansReceivableCarryingAmount" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsFairValueDisclosure" xlink:label="locator_us-gaap_OtherAssetsFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:to="locator_us-gaap_OtherAssetsFairValueDisclosure" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansReceivableFairValueDisclosure" xlink:label="locator_us-gaap_LoansReceivableFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:to="locator_us-gaap_LoansReceivableFairValueDisclosure" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:label="locator_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancialInstrumentsOwnedAtFairValueAbstract" xlink:to="locator_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Deposits" xlink:label="locator_us-gaap_Deposits"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:to="locator_us-gaap_Deposits" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalHomeLoanBankAdvances" xlink:label="locator_us-gaap_FederalHomeLoanBankAdvances"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:to="locator_us-gaap_FederalHomeLoanBankAdvances" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubordinatedDebt" xlink:label="locator_us-gaap_SubordinatedDebt"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:to="locator_us-gaap_SubordinatedDebt" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepositsFairValueDisclosure" xlink:label="locator_us-gaap_DepositsFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:to="locator_us-gaap_DepositsFairValueDisclosure" use="optional" priority="0" order="10"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure" xlink:label="locator_us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:to="locator_us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations" xlink:label="locator_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:to="locator_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations" use="optional" priority="0" order="12"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="locator_us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:to="locator_us-gaap_FairValueByBalanceSheetGroupingTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_FairValueByBalanceSheetGroupingTable" xlink:to="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="locator_us-gaap_FairValueInputsLevel1Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="locator_us-gaap_FairValueInputsLevel1Member" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="locator_us-gaap_FairValueInputsLevel2Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="locator_us-gaap_FairValueInputsLevel2Member" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="locator_us-gaap_FairValueInputsLevel3Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="locator_us-gaap_FairValueInputsLevel3Member" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_71f5cd72-7e41-202f-c8cf-ffef9452fe1b_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="locator_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_71f5cd72-7e41-202f-c8cf-ffef9452fe1b_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://southernfirst.com/role/ReportableSegmentsScheduleOfFinancialInformationForEachReportableSegmentDetails">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="locator_us-gaap_SegmentReportingInformationLineItems"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="locator_us-gaap_InterestAndDividendIncomeOperating"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentReportingInformationLineItems" xlink:to="locator_us-gaap_InterestAndDividendIncomeOperating" use="optional" priority="0" order="0"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense" xlink:label="locator_us-gaap_InterestExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentReportingInformationLineItems" xlink:to="locator_us-gaap_InterestExpense" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="locator_us-gaap_InterestIncomeExpenseNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentReportingInformationLineItems" xlink:to="locator_us-gaap_InterestIncomeExpenseNet" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="locator_us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentReportingInformationLineItems" xlink:to="locator_us-gaap_ProvisionForLoanLeaseAndOtherLosses" use="optional" priority="0" order="3"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="locator_us-gaap_NoninterestIncome"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentReportingInformationLineItems" xlink:to="locator_us-gaap_NoninterestIncome" use="optional" priority="0" order="4"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="locator_us-gaap_NoninterestExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentReportingInformationLineItems" xlink:to="locator_us-gaap_NoninterestExpense" use="optional" priority="0" order="5"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="locator_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentReportingInformationLineItems" xlink:to="locator_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" use="optional" priority="0" order="6"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="locator_us-gaap_IncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentReportingInformationLineItems" xlink:to="locator_us-gaap_IncomeTaxExpenseBenefit" use="optional" priority="0" order="7"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="locator_us-gaap_NetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentReportingInformationLineItems" xlink:to="locator_us-gaap_NetIncomeLoss" use="optional" priority="0" order="8"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets" xlink:label="locator_us-gaap_Assets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentReportingInformationLineItems" xlink:to="locator_us-gaap_Assets" use="optional" priority="0" order="9"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="locator_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="locator_us-gaap_SegmentReportingInformationLineItems" xlink:to="locator_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" use="optional" priority="0" order="10" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="locator_us-gaap_StatementBusinessSegmentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="locator_us-gaap_StatementBusinessSegmentsAxis" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain" xlink:label="locator_us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_us-gaap_StatementBusinessSegmentsAxis" xlink:to="locator_us-gaap_SegmentDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_CommercialAndRetailBankingMember" xlink:label="locator_sfst_CommercialAndRetailBankingMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentDomain" xlink:to="locator_sfst_CommercialAndRetailBankingMember" use="optional" priority="0" order="1"/>
    <loc xlink:type="locator" xlink:href="sfst-20210630.xsd#sfst_MortgageBankingSegmentMember" xlink:label="locator_sfst_MortgageBankingSegmentMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentDomain" xlink:to="locator_sfst_MortgageBankingSegmentMember" use="optional" priority="0" order="11"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CorporateMember" xlink:label="locator_us-gaap_CorporateMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_us-gaap_SegmentDomain" xlink:to="locator_us-gaap_CorporateMember" use="optional" priority="0" order="21"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="locator_srt_ConsolidationItemsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="locator_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="locator_srt_ConsolidationItemsAxis" use="optional" priority="0" order="2"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="locator_srt_ConsolidationItemsDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="locator_srt_ConsolidationItemsAxis" xlink:to="locator_srt_ConsolidationItemsDomain" use="optional" priority="0" order="20"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntersegmentEliminationMember" xlink:label="locator_us-gaap_IntersegmentEliminationMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="locator_srt_ConsolidationItemsDomain" xlink:to="locator_us-gaap_IntersegmentEliminationMember" use="optional" priority="0" order="31"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain" xlink:label="locator_us-gaap_SegmentDomain_96dcedaf-9a11-b741-00a7-fb18db83c54a_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_us-gaap_StatementBusinessSegmentsAxis" xlink:to="locator_us-gaap_SegmentDomain_96dcedaf-9a11-b741-00a7-fb18db83c54a_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="locator_srt_ConsolidationItemsDomain_859c8119-e029-c7e4-3227-798204d1a972_default"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="locator_srt_ConsolidationItemsAxis" xlink:to="locator_srt_ConsolidationItemsDomain_859c8119-e029-c7e4-3227-798204d1a972_default" use="optional" priority="0" order="30" xbrldt:contextElement="segment"/>
  </definitionLink>
</linkbase>
